X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Ffmsapp.h;h=56b6125dff36e4852a583f9239b6a67868e5c95d;hp=dab56e18200a3b6e2c6b2171755c4ef61e52dbda;hb=026dc6b2bc548c945359c4e166eff514f2c47c6a;hpb=3751f10f7127ae0905aa0b52dc6de1c782a38c99 diff --git a/include/fmsapp.h b/include/fmsapp.h index dab56e1..56b6125 100644 --- a/include/fmsapp.h +++ b/include/fmsapp.h @@ -5,6 +5,8 @@ #include +#include + // main FMS application class class FMSApp:public Poco::Util::ServerApplication { @@ -24,9 +26,17 @@ private: void handleHelp(const std::string &name, const std::string &value); void displayHelp(); void handleLogOption(const std::string &name, const std::string &value); + void handleShowOptions(const std::string &name, const std::string &value); + void showOptions(); + void handleSetOption(const std::string &name, const std::string &value); + void setOptions(); bool m_displayhelp; + bool m_showoptions; + bool m_setoption; + std::map m_setoptions; std::string m_logtype; + std::string m_workingdirectory; ThreadedExecutor m_threads;