Code

release reprs properly
[inkscape.git] / src / dialogs / extensions.h
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 void listCB(Inkscape::Extension::Extension *in_plug, gpointer in_data);
47     void rescan();
49     bool _showAll;
50     Gtk::TextView _view;
51 };
53 } //namespace Dialogs
54 } //namespace UI
55 } //namespace Inkscape
59 #endif // SEEN_EXTENSIONS_H