index b66aa93e79cf0b3dfc098952c2b0ae9ddcc08373..0b26f169a345f950290fe5b1348292c0092c6f1a 100644 (file)
-#ifndef __SCRIPTDIALOG_H__
-#define __SCRIPTDIALOG_H__
-/*
- * This dialog is for launching scripts whose main purpose if
- * the scripting of Inkscape itself.
+/** @file
+ * @brief Script dialog
*
- * Authors:
+ * This dialog is for launching scripts whose main purpose is
+ * the scripting of Inkscape itself.
+ */
+/* Authors:
* Bob Jamison
* Other dudes from The Inkscape Organization
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#ifndef __SCRIPTDIALOG_H__
+#define __SCRIPTDIALOG_H__
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include "verbs.h"
namespace Inkscape {
/**
* A script editor, loader, and executor
*/
-class ScriptDialog : public Dialog
+class ScriptDialog : public UI::Widget::Panel
{
public:
/**
* Constructor
*/
- ScriptDialog() : Dialog ("dialogs.script", SP_VERB_DIALOG_SCRIPT)
+ ScriptDialog() :
+ UI::Widget::Panel("", "/dialogs/script", SP_VERB_DIALOG_SCRIPT)
{}
/**
* Factory method
*/
- static ScriptDialog *create();
+ static ScriptDialog &getInstance();
/**
* Destructor
} //namespace UI
} //namespace Inkscape
-
-
-
#endif /* __DEBUGDIALOG_H__ */
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :