summaryrefslogtreecommitdiffstats
path: root/ahl-binding/role.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ahl-binding/role.hpp')
-rw-r--r--ahl-binding/role.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ahl-binding/role.hpp b/ahl-binding/role.hpp
index 6831195..5e64e11 100644
--- a/ahl-binding/role.hpp
+++ b/ahl-binding/role.hpp
@@ -37,11 +37,13 @@ private:
int apply_policy(afb_request* req);
+ void do_mute(afb_request*, bool);
+
public:
explicit role_t() = default;
explicit role_t(const role_t&) = default;
explicit role_t(role_t&&) = default;
-
+
~role_t() = default;
role_t& operator=(const role_t&) = default;
@@ -75,4 +77,6 @@ public:
void close(afb_request* r, json_object* o);
void volume(afb_request* r, json_object* o);
void interrupt(afb_request* r, json_object* o);
+ void mute(afb_request* r, json_object* o);
+ void unmute(afb_request* r, json_object* o);
};