forked from qt-creator/qt-creator
Change-Id: I567965d266f20526bda9f823e31a04b354d53fb1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
44 lines
941 B
C++
44 lines
941 B
C++
// Copyright (C) 2016 Denis Mingulov
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only 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;
|
|
}
|
|
|
|
void ClassViewPlugin::initialize()
|
|
{
|
|
dd = new ClassViewPluginPrivate;
|
|
}
|
|
|
|
} // namespace Internal
|
|
} // namespace ClassView
|