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-27 12:09:35 +0900
commit3705249ce6bb9d96ebc38ef268bc59c4deebca92 (patch)
treed58290dc009aec942ad8c1e887e43a337e65bf9a /src/libsoundmanager.hpp
parent52aed89739e8a5f1664aa56959bd8d02dc384cfd (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);