index 284a3651dac06c30a7eec54013ae2515dc8987f6..fe171f60c163168b326cb6ac4f8bb8004c541ab9 100644 (file)
-/**
- * \brief Extension editor
- *
- * Authors:
+/** @file
+ * @brief Extension editor dialog
+ */
+/* Authors:
* Bryce W. Harrington <bryce@bryceharrington.org>
* Ted Gould <ted@gould.cx>
*
* Bryce W. Harrington <bryce@bryceharrington.org>
* Ted Gould <ted@gould.cx>
*
#ifndef INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
#define INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
#ifndef INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
#define INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include <glibmm/i18n.h>
#include <glibmm/i18n.h>
namespace UI {
namespace Dialog {
namespace UI {
namespace Dialog {
-class ExtensionEditor : public Dialog {
+class ExtensionEditor : public UI::Widget::Panel {
public:
public:
- ExtensionEditor(Behavior::BehaviorFactory behavior_factory);
+ ExtensionEditor();
virtual ~ExtensionEditor();
virtual ~ExtensionEditor();
- static ExtensionEditor *create(Behavior::BehaviorFactory behavior_factory)
- { return new ExtensionEditor(behavior_factory); }
+ static ExtensionEditor &getInstance() { return *new ExtensionEditor(); }
static void show_help (gchar const * extension_id);
static void show_help (gchar const * extension_id);