src: Project Refactoring

* Added language specific Project and ProjectSettings
* moved project specific code from Application to Project
* made Application a singleton
* added handleDialog method to Application which displays a dialog window and waits for user input
* Added ScopedFunctor that executes a function when deleted
This commit is contained in:
malte_langkabel
2016-08-11 12:17:13 +02:00
parent 6b51c7cfe4
commit c847fba568
63 changed files with 1375 additions and 874 deletions
+4 -3
View File
@@ -15,12 +15,13 @@ public:
Settings& operator=(const Settings& other);
virtual ~Settings();
bool load(const FilePath& filePath);
void save();
virtual bool load(const FilePath& filePath);
virtual void save();
virtual void save(const FilePath& filePath);
void clear();
const FilePath& getFilePath() const;
virtual const FilePath& getFilePath() const;
protected:
Settings();