forked from qt-creator/qt-creator
Change-Id: I567965d266f20526bda9f823e31a04b354d53fb1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
38 lines
657 B
C++
38 lines
657 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#include "scxmleditorplugin.h"
|
|
|
|
#include "scxmleditorfactory.h"
|
|
|
|
#include <coreplugin/designmode.h>
|
|
|
|
using namespace Core;
|
|
|
|
namespace ScxmlEditor {
|
|
namespace Internal {
|
|
|
|
class ScxmlEditorPluginPrivate
|
|
{
|
|
public:
|
|
ScxmlEditorFactory editorFactory;
|
|
};
|
|
|
|
ScxmlEditorPlugin::~ScxmlEditorPlugin()
|
|
{
|
|
delete d;
|
|
}
|
|
|
|
void ScxmlEditorPlugin::initialize()
|
|
{
|
|
d = new ScxmlEditorPluginPrivate;
|
|
}
|
|
|
|
void ScxmlEditorPlugin::extensionsInitialized()
|
|
{
|
|
DesignMode::setDesignModeIsRequired();
|
|
}
|
|
|
|
} // Internal
|
|
} // ScxmlEditor
|