X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fapp.h;h=58b3401d0b8451280137b86f83d9d7d3b1ecc9b6;hb=13dedf19c628b9967e4c4106ab0fd967f1df0b90;hp=8fb0dca887919f7916486c0ab580932d30df6c94;hpb=60aebc188674bbfb67be51958ec33171c72986b9;p=evaf
diff --git a/src/libs/Common/app.h b/src/libs/Common/app.h
index 8fb0dca..58b3401 100644
--- a/src/libs/Common/app.h
+++ b/src/libs/Common/app.h
@@ -3,7 +3,7 @@
* @brief Application interface implementation
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -40,6 +40,11 @@ class App : public iApp
public:
+ /**
+ * Destroys the iApp interface instance
+ */
+ static void destroyInstance();
+
App();
virtual ~App();
@@ -61,6 +66,8 @@ public:
virtual QString const xmlFileName() const;
+ virtual int exec();
+
virtual void restart();
virtual void quit(bool err = false);
@@ -82,7 +89,7 @@ public:
virtual QString const qtPluginsDir() const;
-private:
+private: // Members
/// Flag indicating that the eVaf application is ready
bool mReady;
@@ -123,6 +130,11 @@ private:
uint mEvReady;
uint mEvTerminating;
+
+private: // Methods
+
+ void setReady(bool value);
+
};
} // namespace eVaf::Common::Internal