C++: Move the ModelManagerInterface from CppTools to CPlusPlus.

This commit is contained in:
Christian Kamm
2010-12-03 13:49:35 +01:00
parent 5de7be5f91
commit 5f50a6ae34
45 changed files with 268 additions and 146 deletions

View File

@@ -85,7 +85,7 @@
#include <coreplugin/modemanager.h>
#include <cppeditor/cppeditorconstants.h>
#include <cpptools/cppmodelmanagerinterface.h>
#include <cplusplus/ModelManagerInterface.h>
#include <extensionsystem/pluginmanager.h>
@@ -2404,9 +2404,8 @@ void DebuggerPluginPrivate::coreShutdown()
const CPlusPlus::Snapshot &DebuggerPluginPrivate::cppCodeModelSnapshot() const
{
using namespace CppTools;
if (m_codeModelSnapshot.isEmpty() && action(UseCodeModel)->isChecked())
m_codeModelSnapshot = CppModelManagerInterface::instance()->snapshot();
m_codeModelSnapshot = CPlusPlus::CppModelManagerInterface::instance()->snapshot();
return m_codeModelSnapshot;
}