blob: 8858a832978e7653fa2ac7322fce3be1e2ef6d4e (
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
38
39
40
41
42
43
44
45
46
47
48
|
// Copyright (C) 2016 Denis Mingulov
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "classviewplugin.h"
#include "classviewmanager.h"
#include "classviewnavigationwidgetfactory.h"
namespace ClassView {
namespace Internal {
///////////////////////////////// Plugin //////////////////////////////////
/*!
\class ClassViewPlugin
\brief The ClassViewPlugin class implements the Class View plugin.
The Class View shows the namespace and class hierarchy of the currently open
projects in the sidebar.
*/
class ClassViewPluginPrivate
{
public:
NavigationWidgetFactory navigationWidgetFactory;
Manager manager;
};
static ClassViewPluginPrivate *dd = nullptr;
ClassViewPlugin::~ClassViewPlugin()
{
delete dd;
dd = nullptr;
}
bool ClassViewPlugin::initialize(const QStringList &arguments, QString *errorMessage)
{
Q_UNUSED(arguments)
Q_UNUSED(errorMessage)
dd = new ClassViewPluginPrivate;
return true;
}
} // namespace Internal
} // namespace ClassView
|