aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm-client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm-client.hpp')
-rw-r--r--src/wm-client.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wm-client.hpp b/src/wm-client.hpp
index 3680d8f..4bfb60b 100644
--- a/src/wm-client.hpp
+++ b/src/wm-client.hpp
@@ -30,6 +30,11 @@ extern "C"
namespace wm
{
+enum WM_CLIENT_ERROR_EVENT
+{
+ UNKNOWN_ERROR
+};
+
class WMClient
{
public:
@@ -46,6 +51,9 @@ class WMClient
bool removeSurfaceIfExist(unsigned surfaceID);
bool removeRole(const std::string& role);
+ bool subscribe(afb_req req, const std::string &event_name);
+ void emitError(WM_CLIENT_ERROR_EVENT ev);
+
void dumpInfo();
private: