diff options
Diffstat (limited to 'src/plugins/cppeditor/abstracteditorsupport.h')
-rw-r--r-- | src/plugins/cppeditor/abstracteditorsupport.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/abstracteditorsupport.h b/src/plugins/cppeditor/abstracteditorsupport.h index 2b18873238..277001e043 100644 --- a/src/plugins/cppeditor/abstracteditorsupport.h +++ b/src/plugins/cppeditor/abstracteditorsupport.h @@ -9,6 +9,8 @@ #include <QObject> +namespace ProjectExplorer { class Project; } + namespace CppEditor { class CppModelManager; @@ -30,8 +32,10 @@ public: void notifyAboutUpdatedContents() const; unsigned revision() const { return m_revision; } - static QString licenseTemplate(const Utils::FilePath &filePath = {}, const QString &className = {}); - static bool usePragmaOnce(); + static QString licenseTemplate(ProjectExplorer::Project *project, + const Utils::FilePath &filePath = {}, + const QString &className = {}); + static bool usePragmaOnce(ProjectExplorer::Project *project); private: CppModelManager *m_modelmanager; |