DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
env.h
Go to the documentation of this file.
1 #ifndef ENV_H
2 #define ENV_H
3 
4 #include <qtcommons_global.h>
5 #include <QSettings>
6 #include <QProcessEnvironment>
7 
8 
9 namespace displace {
10 namespace R {
11 
13 {
14 public:
15  Env();
16  ~Env();
17 
18  QProcessEnvironment environment() const;
19  QString getRScriptExe() const;
20  QString getRScriptHome() const;
21  void setRScriptHome(QString home);
22 
23  bool check() const;
24 private:
25  QSettings set;
26 
27  static const QString RSCRIPT_HOME_SETTING;
28 };
29 
30 } // R
31 } // displace
32 
33 
34 #endif // ENV_H
#define QTCOMMONSSHARED_EXPORT
Definition: qtcommons_global.h:16
Definition: decisiontreemanager.h:13
Definition: env.h:12