Code

Merging from trunk
[inkscape.git] / src / ui / dialog / scriptdialog.h
1 #ifndef __SCRIPTDIALOG_H__
2 #define __SCRIPTDIALOG_H__
3 /*
4  * This dialog is for launching scripts whose main purpose if
5  * the scripting of Inkscape itself.
6  *
7  * Authors:
8  *   Bob Jamison
9  *   Other dudes from The Inkscape Organization
10  *
11  * Copyright (C) 2004, 2005 Authors
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
17 #include "ui/widget/panel.h"
18 #include "verbs.h"
20 namespace Inkscape {
21 namespace UI {
22 namespace Dialog {
25 /**
26  * A script editor, loader, and executor
27  */
28 class ScriptDialog : public UI::Widget::Panel
29 {
31     public:
34     /**
35      * Constructor
36      */
37     ScriptDialog() : 
38      UI::Widget::Panel("", "dialogs.script", SP_VERB_DIALOG_SCRIPT)
39     {}
42     /**
43      * Factory method
44      */
45     static ScriptDialog &getInstance();
47     /**
48      * Destructor
49      */
50     virtual ~ScriptDialog() {};
53     private:
54         int _max_dialog_width;
55         int _max_dialog_height;
58 }; // class ScriptDialog
61 } //namespace Dialog
62 } //namespace UI
63 } //namespace Inkscape
68 #endif /* __DEBUGDIALOG_H__ */