1 /** @file
2 * @brief Script dialog
3 *
4 * This dialog is for launching scripts whose main purpose is
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 */
16 #ifndef __SCRIPTDIALOG_H__
17 #define __SCRIPTDIALOG_H__
19 #include "ui/widget/panel.h"
20 #include "verbs.h"
22 namespace Inkscape {
23 namespace UI {
24 namespace Dialog {
27 /**
28 * A script editor, loader, and executor
29 */
30 class ScriptDialog : public UI::Widget::Panel
31 {
33 public:
36 /**
37 * Constructor
38 */
39 ScriptDialog() :
40 UI::Widget::Panel("", "/dialogs/script", SP_VERB_DIALOG_SCRIPT)
41 {}
44 /**
45 * Factory method
46 */
47 static ScriptDialog &getInstance();
49 /**
50 * Destructor
51 */
52 virtual ~ScriptDialog() {};
55 private:
56 int _max_dialog_width;
57 int _max_dialog_height;
60 }; // class ScriptDialog
63 } //namespace Dialog
64 } //namespace UI
65 } //namespace Inkscape
67 #endif /* __DEBUGDIALOG_H__ */
69 /*
70 Local Variables:
71 mode:c++
72 c-file-style:"stroustrup"
73 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
74 indent-tabs-mode:nil
75 fill-column:99
76 End:
77 */
78 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :