diff options
Diffstat (limited to 'tests/webserverprocess.h')
-rw-r--r-- | tests/webserverprocess.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/webserverprocess.h b/tests/webserverprocess.h index 5593c70..3a4b7d6 100644 --- a/tests/webserverprocess.h +++ b/tests/webserverprocess.h @@ -14,8 +14,8 @@ class WebserverProcess private: void init(const std::string& config); public: - WebserverProcess(const std::string& config); - WebserverProcess(); + WebserverProcess(const std::string& config, bool wait_for_listener = true); + WebserverProcess(bool wait_for_listener = true); ~WebserverProcess(); void start(); void stop(); @@ -25,6 +25,6 @@ public: private: pid_t m_pid; std::string m_config; - + bool m_wait_for_listener; }; // class WebserverProcess |