]> git.siccegge.de Git - frida/frida.git/blob - src/core/Settings.hxx
Make signals from geiser work
[frida/frida.git] / src / core / Settings.hxx
1 #ifndef INCLUDE__Settings_hxx
2 #define INCLUDE__Settings_hxx
3
4 #include "qt.hxx"
5 #include "log4cxx/logger.h"
6
7 class Settings : public QSettings {
8 public:
9 QDir* getRuntimeDirectory() const {return runtimeDirectory;}
10 static Settings* get() {return instance;}
11 private:
12 Settings();
13
14 static Settings* instance;
15 log4cxx::LoggerPtr logger;
16 QDir* runtimeDirectory;
17
18 friend int main(int argc, char** argv);
19 };
20
21 #endif /* INCLUDE__Settings_hxx */