Code

Add ubuntu palette, closes 1510556.
[inkscape.git] / src / extension / prefdialog.h
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 /** \brief  A class to represent the preferences for an extension */
24 class PrefDialog : public Gtk::Dialog {
25     /** \brief  Help string if it exists */
26     gchar const * _help;
27     /** \brief  Name of the extension */
28     Glib::ustring _name;
30 public:
31     PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * controls);
32     int run (void);
34 };
37 };}; /* namespace Inkscape, Extension */
39 #endif /* INKSCAPE_EXTENSION_DIALOG_H__ */
41 /*
42   Local Variables:
43   mode:c++
44   c-file-style:"stroustrup"
45   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46   indent-tabs-mode:nil
47   fill-column:99
48   End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :