Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/myrulib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MyRuLib/FbDataPath.h')
-rw-r--r--MyRuLib/FbDataPath.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/MyRuLib/FbDataPath.h b/MyRuLib/FbDataPath.h
new file mode 100644
index 00000000..05acc4b4
--- /dev/null
+++ b/MyRuLib/FbDataPath.h
@@ -0,0 +1,20 @@
+#ifndef __FBDATAPATH_H__
+#define __FBDATAPATH_H__
+
+#include <wx/wx.h>
+#include <wx/filename.h>
+#include <wx/stdpaths.h>
+
+class FbStandardPaths: public wxStandardPaths
+{
+ public:
+ virtual wxString GetDataFile() const;
+ virtual wxString GetConfigFile() const;
+ virtual wxString GetAppFileName() const;
+ virtual wxString GetUserConfigDir() const;
+ virtual wxString GetDownloadDir(bool bMustExist = false) const;
+ private:
+ wxFileName GetDatabaseFilename() const;
+};
+
+#endif // __FBDATAPATH_H__