CppTools: Use a normal plugin pimpl member for CppModelManager

Change-Id: Id2c4b098084808070ef91de13c8338184e52141d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-02-04 17:23:27 +01:00
parent 67f66a39be
commit e3e6cece89
3 changed files with 11 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ class WorkingCopy;
namespace Internal {
class CppSourceProcessor;
class CppModelManagerPrivate;
class CppToolsPlugin;
class CppToolsPluginPrivate;
}
namespace Tests {
@@ -88,15 +88,15 @@ class CPPTOOLS_EXPORT CppModelManager final : public CPlusPlus::CppModelManagerB
{
Q_OBJECT
public:
using Document = CPlusPlus::Document;
public:
private:
friend class Internal::CppToolsPluginPrivate;
CppModelManager();
~CppModelManager() override;
public:
using Document = CPlusPlus::Document;
static CppModelManager *instance();
static void createCppModelManager(Internal::CppToolsPlugin *parent);
// Documented in source file.
enum ProgressNotificationMode {