summaryrefslogtreecommitdiffstats
path: root/src/libsoundmanager.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-08 13:25:08 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-11 10:34:32 +0900
commitbb46bb9c1a487cf4a3121862d32a20e4770cad99 (patch)
tree97843810c9372e40a65a345cdff067cb24c51357 /src/libsoundmanager.hpp
parent124b9a04b77e0d402ed3c8d5d2771f7498a235bc (diff)
Remove redundant functions
I decided that libsoundmanager doesn't have multi callback entry point to simplify API. Change-Id: I6e4a94148399c09b7603e8f9cf9a62f29f5e80fb Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/libsoundmanager.hpp')
-rw-r--r--src/libsoundmanager.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsoundmanager.hpp b/src/libsoundmanager.hpp
index 183709e..2632f94 100644
--- a/src/libsoundmanager.hpp
+++ b/src/libsoundmanager.hpp
@@ -54,19 +54,14 @@ public:
int call(const char* verb, struct json_object* arg);
int subscribe(const std::string& event_name);
int unsubscribe(const std::string& event_name);
- void set_event_handler(enum EventType_SM et, handler_fun f);
void registerCallback(
void (*event_cb)(const std::string& event, struct json_object* event_contents),
void (*reply_cb)(struct json_object* reply_contents),
void (*hangup_cb)(void) = nullptr);
- void registerCallback(
- void (*reply_cb)(struct json_object* reply_contents),
- void (*hangup_cb)(void) = nullptr);
private:
int init_event();
int initialize_websocket();
- int dispatch_event(const std::string& event, struct json_object* ev_contents);
void (*onEvent)(const std::string& event, struct json_object* event_contents);
void (*onReply)(struct json_object* reply);