aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/pluginfilefactory.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-01-20 15:31:33 +0100
committerhjk <qtc-committer@nokia.com>2009-01-20 15:31:33 +0100
commit897c05f57c64d07c1361c7170495641ece42c7c3 (patch)
tree8ccf5b7874d25af2bc47a3fb6ea1cb63b93a6a72 /src/plugins/projectexplorer/pluginfilefactory.h
parent67437acf498fe74baadd07a59a8180dca8314f43 (diff)
replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance()
Diffstat (limited to 'src/plugins/projectexplorer/pluginfilefactory.h')
-rw-r--r--src/plugins/projectexplorer/pluginfilefactory.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/plugins/projectexplorer/pluginfilefactory.h b/src/plugins/projectexplorer/pluginfilefactory.h
index 035eb50e66..e23be0e9f9 100644
--- a/src/plugins/projectexplorer/pluginfilefactory.h
+++ b/src/plugins/projectexplorer/pluginfilefactory.h
@@ -35,16 +35,14 @@
#define PLUGINFILEFACTORY_H
#include <coreplugin/ifilefactory.h>
+
#include <QtCore/QObject>
#include <QtCore/QStringList>
-namespace Core {
- class ICore;
-}
-
namespace ProjectExplorer {
- class IProjectManager;
- class ProjectExplorerPlugin;
+
+class IProjectManager;
+class ProjectExplorerPlugin;
namespace Internal {
@@ -53,20 +51,20 @@ namespace Internal {
class ProjectFileFactory : public Core::IFileFactory
{
Q_OBJECT
- explicit ProjectFileFactory(const Core::ICore* core, ProjectExplorer::IProjectManager *manager);
-public:
+ explicit ProjectFileFactory(ProjectExplorer::IProjectManager *manager);
+
+public:
virtual QStringList mimeTypes() const;
bool canOpen(const QString &fileName);
QString kind() const;
Core::IFile *open(const QString &fileName);
- static QList<ProjectFileFactory*> createFactories(const Core::ICore* core, QString *filterString);
+ static QList<ProjectFileFactory*> createFactories(QString *filterString);
private:
const QStringList m_mimeTypes;
const QString m_kind;
- const Core::ICore* m_core;
ProjectExplorer::IProjectManager *m_manager;
};