diff options
Diffstat (limited to 'src/plugins/scxmleditor/scxmleditorplugin.cpp')
-rw-r--r-- | src/plugins/scxmleditor/scxmleditorplugin.cpp | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/src/plugins/scxmleditor/scxmleditorplugin.cpp b/src/plugins/scxmleditor/scxmleditorplugin.cpp index 30bddf6b2f..d8b1514a17 100644 --- a/src/plugins/scxmleditor/scxmleditorplugin.cpp +++ b/src/plugins/scxmleditor/scxmleditorplugin.cpp @@ -24,34 +24,21 @@ ****************************************************************************/ #include "scxmleditorplugin.h" -#include "scxmleditorconstants.h" #include "scxmleditorfactory.h" -#include <coreplugin/coreconstants.h> #include <coreplugin/designmode.h> -#include <coreplugin/icontext.h> -#include <coreplugin/icore.h> - -#include <QAction> -#include <QMainWindow> -#include <QMenu> -#include <QMessageBox> - -#include <QtPlugin> using namespace Core; -using namespace ScxmlEditor::Internal; -ScxmlEditorPlugin::ScxmlEditorPlugin() -{ -} +namespace ScxmlEditor { +namespace Internal { bool ScxmlEditorPlugin::initialize(const QStringList &arguments, QString *errorString) { Q_UNUSED(arguments) Q_UNUSED(errorString) - addAutoReleasedObject(new ScxmlEditorFactory); + (void) new ScxmlEditorFactory(this); return true; } @@ -61,7 +48,5 @@ void ScxmlEditorPlugin::extensionsInitialized() DesignMode::setDesignModeIsRequired(); } -ExtensionSystem::IPlugin::ShutdownFlag ScxmlEditorPlugin::aboutToShutdown() -{ - return SynchronousShutdown; -} +} // Internal +} // ScxmlEditor |