Code

Move app-specific logic and file operations up from the lower level.
[inkscape.git] / src / dialogs / extensions.h
1 /** @file
2  * A simple dialog with information about extensions
3  */
4 /* Authors:
5  *   Jon A. Cruz
6  *
7  * Copyright (C) 2005 The Inkscape Organization
8  * Released under GNU GPL, read the file 'COPYING' for more information
9  */
10  
11 #ifndef SEEN_EXTENSIONS_H
12 #define SEEN_EXTENSIONS_H
14 #include <gtkmm/textview.h>
15 #include "ui/widget/panel.h"
17 namespace Inkscape {
18 namespace Extension {
19 class Extension;
20 }
21 }
23 namespace Inkscape {
24 namespace UI {
25 namespace Dialogs {
28 /**
29  * A panel that displays information about extensions.
30  */
31 class ExtensionsPanel : public Inkscape::UI::Widget::Panel
32 {
33 public:
34     ExtensionsPanel();
36     static ExtensionsPanel &getInstance();
38     void set_full(bool full);
40 private:
41     ExtensionsPanel(ExtensionsPanel const &); // no copy
42     ExtensionsPanel &operator=(ExtensionsPanel const &); // no assign
44     static void listCB(Inkscape::Extension::Extension *in_plug, gpointer in_data);
46     void rescan();
48     bool _showAll;
49     Gtk::TextView _view;
50 };
52 } //namespace Dialogs
53 } //namespace UI
54 } //namespace Inkscape
56 #endif // SEEN_EXTENSIONS_H