GenericProject: Modernize

* Use pragma once
* Use overrides
* Clean up here and there (mostly in the headers)

Change-Id: Ib33b6a6aa1a285d281f3d8b940fe654af3941554
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-04 13:08:13 +01:00
parent eb07fd92b2
commit ff303ee994
16 changed files with 44 additions and 97 deletions

View File

@@ -23,8 +23,7 @@
**
****************************************************************************/
#ifndef GENERICPROJECTCONSTANTS_H
#define GENERICPROJECTCONSTANTS_H
#pragma once
namespace GenericProjectManager {
namespace Constants {
@@ -35,14 +34,8 @@ const char GENERICMIMETYPE[] = "text/x-generic-project"; // ### FIXME
// Contexts
const char FILES_EDITOR_ID[] = "QT4.FilesEditor";
const char FILES_MIMETYPE[] = "application/vnd.qtcreator.generic.files";
const char INCLUDES_MIMETYPE[] = "application/vnd.qtcreator.generic.includes";
const char CONFIG_MIMETYPE[] = "application/vnd.qtcreator.generic.config";
// Project
const char GENERICPROJECT_ID[] = "GenericProjectManager.GenericProject";
} // namespace Constants
} // namespace GenericProjectManager
#endif // GENERICPROJECTCONSTANTS_H