2 #ifndef SEEN_EXTENSIONS_H
3 #define SEEN_EXTENSIONS_H
4 /*
5 * A simple dialog for previewing icon representation.
6 *
7 * Authors:
8 * Jon A. Cruz
9 *
10 * Copyright (C) 2005 The Inkscape Organization
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include <gtkmm/textview.h>
16 #include "ui/widget/panel.h"
18 namespace Inkscape {
19 namespace Extension {
20 class Extension;
21 }
22 }
24 namespace Inkscape {
25 namespace UI {
26 namespace Dialogs {
29 /**
30 * A panel that displays information about extensions.
31 */
32 class ExtensionsPanel : public Inkscape::UI::Widget::Panel
33 {
34 public:
35 ExtensionsPanel();
37 static ExtensionsPanel& getInstance();
39 void set_full(bool full);
41 private:
42 ExtensionsPanel(ExtensionsPanel const &); // no copy
43 ExtensionsPanel &operator=(ExtensionsPanel const &); // no assign
45 static ExtensionsPanel* instance;
47 static void listCB( Inkscape::Extension::Extension * in_plug, gpointer in_data );
49 void rescan();
51 bool _showAll;
52 Gtk::TextView _view;
53 };
55 } //namespace Dialogs
56 } //namespace UI
57 } //namespace Inkscape
61 #endif // SEEN_EXTENSIONS_H