diff options
author | 2018-10-23 12:46:00 +0000 | |
---|---|---|
committer | 2018-12-20 18:07:28 +0100 | |
commit | 0bcdafe937aadce66fda711bc9d87e369e15adee (patch) | |
tree | 3a1df810e7729cac717320fed7103b765a369497 /ahl-binding/role.hpp | |
parent | b228d2aae87954418cb0a98777a2e73c7e5e83c6 (diff) |
Merge "Migration to Afb API v3"
Change-Id: Ie81e8659554848156e0749906013b056879fa8c7
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/role.hpp')
-rw-r--r-- | ahl-binding/role.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ahl-binding/role.hpp b/ahl-binding/role.hpp index 5e64e11..143a717 100644 --- a/ahl-binding/role.hpp +++ b/ahl-binding/role.hpp @@ -35,9 +35,9 @@ private: std::string device_uri_; bool opened_; - int apply_policy(afb_request* req); + int apply_policy(afb_req_t req); - void do_mute(afb_request*, bool); + void do_mute(afb_req_t, bool); public: explicit role_t() = default; @@ -71,12 +71,12 @@ public: void device_uri(std::string v); void priority(int v); - void invoke(afb_request* r); + void invoke(afb_req_t r); - void open(afb_request* r, json_object* o); - 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); + void open(afb_req_t r, json_object* o); + void close(afb_req_t r, json_object* o); + void volume(afb_req_t r, json_object* o); + void interrupt(afb_req_t r, json_object* o); + void mute(afb_req_t r, json_object* o); + void unmute(afb_req_t r, json_object* o); }; |