1 /*
2 * Authors:
3 * Ted Gould <ted@gould.cx>
4 *
5 * Copyright (C) 2005 Authors
6 *
7 * Released under GNU GPL, read the file 'COPYING' for more information
8 */
10 #ifndef INKSCAPE_EXTENSION_DIALOG_H__
11 #define INKSCAPE_EXTENSION_DIALOG_H__
13 #include <glibmm/ustring.h>
15 #include <gdkmm/types.h>
17 #include <gtkmm/dialog.h>
18 #include <gtkmm/socket.h>
20 namespace Inkscape {
21 namespace Extension {
23 class PrefDialog : public Gtk::Dialog {
24 /** \brief Help string if it exists */
25 gchar const * _help;
26 /** \brief Name of the extension */
27 Glib::ustring _name;
29 public:
30 PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * controls);
31 Gtk::ResponseType run (void);
33 };
36 };}; /* namespace Inkscape, Extension */
38 #endif /* INKSCAPE_EXTENSION_DIALOG_H__ */
40 /*
41 Local Variables:
42 mode:c++
43 c-file-style:"stroustrup"
44 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
45 indent-tabs-mode:nil
46 fill-column:99
47 End:
48 */
49 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :