diff options
Diffstat (limited to 'include/ingen/ClientInterface.hpp')
-rw-r--r-- | include/ingen/ClientInterface.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ingen/ClientInterface.hpp b/include/ingen/ClientInterface.hpp index a72c4743..0bed231c 100644 --- a/include/ingen/ClientInterface.hpp +++ b/include/ingen/ClientInterface.hpp @@ -25,6 +25,7 @@ #include "raul/URI.hpp" #include "ingen/CommonInterface.hpp" +#include "ingen/Status.hpp" namespace Raul { class Path; } @@ -40,9 +41,7 @@ class ClientInterface : public CommonInterface public: virtual ~ClientInterface() {} - virtual void response_ok(int32_t id) = 0; - - virtual void response_error(int32_t id, const std::string& msg) = 0; + virtual void response(int32_t id, Status status) = 0; virtual void error(const std::string& msg) = 0; |