X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FCommon%2Fapp.h;h=3bcde5aaa045c422acaeff53658b9529e40c6be7;hb=be0e791df48f5a8c9bb4c16f65b62e41e1149552;hp=5d8886e9e629808b1abb24f519e750ddeb6d1752;hpb=77caaebac175110f337767d4b7422bdaa6b7ac1f;p=evaf
diff --git a/src/libs/Common/app.h b/src/libs/Common/app.h
index 5d8886e..3bcde5a 100644
--- a/src/libs/Common/app.h
+++ b/src/libs/Common/app.h
@@ -63,6 +63,20 @@ public:
virtual bool isReady() const { return mReady; }
+ virtual QString const rootDir() const { return mRootDir; }
+
+ virtual QString const dataRootDir() const;
+
+ virtual QString const binDir() const { return mBinDir; }
+
+ virtual QString const etcDir() const;
+
+ virtual QString const logDir() const;
+
+ virtual QString const docDir() const;
+
+ virtual QString const qtPluginsDir() const;
+
private:
@@ -78,6 +92,27 @@ private:
/// Name of the application's XML file
mutable QString mXmlFile;
+ /// Name of the root directry
+ QString mRootDir;
+
+ /// Name of the data root directory
+ mutable QString mDataRootDir;
+
+ /// Name of the binary directory
+ QString mBinDir;
+
+ /// Name of the Qt plugins directory
+ mutable QString mQtPluginsDir;
+
+ /// Name of the configuration files directory
+ mutable QString mEtcDir;
+
+ /// Name of the log files directory
+ mutable QString mLogDir;
+
+ /// Name of the documentation directory
+ mutable QString mDocDir;
+
};
} // namespace eVaf::Common::Internal