version 0.3.29
[fms.git] / include / fmsapp.h
index ac2ef7d..810325d 100644 (file)
@@ -2,13 +2,14 @@
 #define _fmsapp_\r
 \r
 #include "threadwrapper/threadedexecutor.h"\r
+#include "ithreaddatabase.h"\r
 \r
 #include <Poco/Util/ServerApplication.h>\r
 \r
 #include <map>\r
 \r
 // main FMS application class\r
-class FMSApp:public Poco::Util::ServerApplication\r
+class FMSApp:public Poco::Util::ServerApplication,public IThreadDatabase\r
 {\r
 public:\r
        FMSApp();\r
@@ -36,6 +37,7 @@ private:
        bool m_setoption;\r
        std::map<std::string,std::string> m_setoptions;\r
        std::string m_logtype;\r
+       std::string m_workingdirectory;\r
 \r
        ThreadedExecutor m_threads;\r
 \r