Code

Added UXManager. Cleaning up toolbox creation.
[inkscape.git] / src / ui / uxmanager.h
1 #ifndef SEEN_UI_UXMANAGER_H
2 #define SEEN_UI_UXMANAGER_H
3 /*
4  * A simple interface for previewing representations.
5  *
6  * Authors:
7  *   Jon A. Cruz <jon@joncruz.org>
8  *
9  * Copyright (C) 2010 Jon A. Cruz
10  *
11  * Released under GNU GPL, read the file 'COPYING' for more information
12  */
14 #include <vector>
16 typedef struct _GtkWidget GtkWidget;
17 class SPDesktop;
19 namespace Inkscape {
20 namespace UI {
22 class UXManager
23 {
24 public:
25     static UXManager* getInstance();
26     virtual ~UXManager();
28     void connectToDesktop( std::vector<GtkWidget *> const & toolboxes, SPDesktop *desktop );
30 private:
31     UXManager();
32 };
34 } // namespace UI
35 } // namespace Inkscape
37 #endif // SEEN_UI_UXMANAGER_H
38 /*
39   Local Variables:
40   mode:c++
41   c-file-style:"stroustrup"
42   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
43   indent-tabs-mode:nil
44   fill-column:99
45   End:
46 */
47 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :