Nemiver
0.3
src
uicommon
nmv-dialog.h
Go to the documentation of this file.
1
//Author: Jonathon Jongsma
2
/*
3
*This file is part of the Nemiver project
4
*
5
*Nemiver is free software; you can redistribute
6
*it and/or modify it under the terms of
7
*the GNU General Public License as published by the
8
*Free Software Foundation; either version 2,
9
*or (at your option) any later version.
10
*
11
*Nemiver is distributed in the hope that it will
12
*be useful, but WITHOUT ANY WARRANTY;
13
*without even the implied warranty of
14
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*See the GNU General Public License for more details.
16
*
17
*You should have received a copy of the
18
*GNU General Public License along with Nemiver;
19
*see the file COPYING.
20
*If not, write to the Free Software Foundation,
21
*Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
*
23
*See COPYRIGHT file copyright information.
24
*/
25
#ifndef __NMV_DIALOG_H__
26
#define __NMV_DIALOG_H__
27
28
#include <gtkmm/builder.h>
29
#include "
common/nmv-object.h
"
30
31
namespace
Gtk
{
32
class
Dialog;
33
}
34
35
namespace
Gnome
{
36
namespace
Glade {
37
class
Xml;
38
}
39
}
40
41
NEMIVER_BEGIN_NAMESPACE (
nemiver
)
42
43
namespace
common
{
44
class
UString;
45
}
46
47
using
nemiver::common::UString
;
48
using
nemiver::common::SafePtr
;
49
50
class
Dialog
:
public
common::Object
{
51
class
Priv;
52
friend
class
Priv;
53
SafePtr<Priv>
m_priv;
54
//non copyable
55
Dialog
(
const
Dialog
&);
56
Dialog
& operator= (
const
Dialog
&);
57
58
Dialog
();
59
60
protected
:
61
//the actual underlying Gtk::Dialog widget
62
Gtk::Dialog& widget ()
const
;
63
64
//the actual gtkbuilder object loaded by this dialog.
65
const
Glib::RefPtr<Gtk::Builder> gtkbuilder ()
const
;
66
67
public
:
68
69
Dialog
(
const
UString
&a_resource_root_path,
70
const
UString
&a_gtkbuilder_filename,
71
const
UString
&a_widget_name,
72
Gtk::Window &a_parent);
73
74
virtual
~
Dialog
();
75
76
virtual
gint run ();
77
78
virtual
void
show ();
79
80
virtual
void
hide ();
81
82
Glib::SignalProxy1<void, int> signal_response ();
83
84
};
//end class nemiver
85
86
NEMIVER_END_NAMESPACE (
nemiver
)
87
88
#endif //__NMV_DIALOG_H__
89
90
nemiver::common::Object
Definition:
nmv-object.h:43
Gnome
Definition:
nmv-dialog.h:35
nemiver
Definition:
nmv-address.h:31
nemiver::common::UString
Definition:
nmv-ustring.h:45
Gtk
Definition:
nmv-asm-utils.h:30
nemiver::Dialog
Definition:
nmv-dialog.h:50
nmv-object.h
nemiver::common::SafePtr
Definition:
nmv-safe-ptr.h:71
common
Definition:
nmv-proc-list-dialog.h:32
Generated by
1.8.17