~ubuntu-branches/ubuntu/maverick/notecase/maverick

« back to all changes in this revision

Viewing changes to src/gui/Dialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2005-09-09 09:32:43 UTC
  • Revision ID: james.westby@ubuntu.com-20050909093243-s6namw0yh7q3tqy0
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////
 
2
// NoteCase notes manager project <http://notecase.sf.net>
 
3
//
 
4
// This code is licensed under BSD license.See "license.txt" for more details.
 
5
//
 
6
// File: Implements base class for GTK Dialog window (experimental)
 
7
////////////////////////////////////////////////////////////////////////////
 
8
 
 
9
#include "Dialog.h"
 
10
 
 
11
Dialog::Dialog()
 
12
{
 
13
        m_pDialog = NULL;
 
14
//      this->Create();
 
15
}
 
16
 
 
17
Dialog::~Dialog()
 
18
{
 
19
}
 
20
 
 
21
void Dialog::Create()
 
22
{
 
23
}
 
24
 
 
25
gint Dialog::ShowModal()
 
26
{
 
27
        return gtk_dialog_run(GTK_DIALOG(m_pDialog));
 
28
}
 
29
 
 
30
void Dialog::Destroy()
 
31
{
 
32
        if(m_pDialog)
 
33
                gtk_widget_destroy(m_pDialog);
 
34
        m_pDialog = NULL;
 
35
}
 
36