summaryrefslogtreecommitdiff
path: root/src/plugins/scxmleditor/scxmleditorplugin.cpp
blob: f2a0de589e2adcca914fca5f1de712b898df79ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// 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