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_ERROR_FILE_H__
11 #define INKSCAPE_EXTENSION_ERROR_FILE_H__
13 #include <gtkmm/messagedialog.h>
14 #include <gtkmm/checkbutton.h>
16 namespace Inkscape {
17 namespace Extension {
19 /** \brief A warning dialog to say that some extensions failed to load,
20 will not run if the preference controlling running is turned
21 off. */
22 class ErrorFileNotice : public Gtk::MessageDialog {
23 /** The checkbutton, this is so we can figure out when it gets checked */
24 Gtk::CheckButton * checkbutton;
26 void checkbox_toggle(void);
27 public:
28 ErrorFileNotice (void);
29 int run (void);
30 };
32 }; }; /* namespace Inkscape, Extension */
34 #endif /* INKSCAPE_EXTENSION_ERROR_FILE_H__ */
36 /*
37 Local Variables:
38 mode:c++
39 c-file-style:"stroustrup"
40 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
41 indent-tabs-mode:nil
42 fill-column:99
43 End:
44 */
45 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :