X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-wsj1.hpp;h=fa236fae45d4ebd892b4f9ff0cfa4a2856726833;hb=60e362130fd89321f7bf1d168fb6d3b22fef799d;hp=fc990928615580aa69faa4a6e42fc756c2f78b5a;hpb=9ed1400b1df1d645603f075529ff8e8c8154d145;p=src%2Fapp-framework-binder.git diff --git a/src/afb-wsj1.hpp b/src/afb-wsj1.hpp index fc990928..fa236fae 100644 --- a/src/afb-wsj1.hpp +++ b/src/afb-wsj1.hpp @@ -29,9 +29,9 @@ #include extern "C" { -#include -#include -#include +#include "json-c/json.h" +#include "afb-wsj1.h" +#include "afb-ws-client.h" } #include @@ -77,12 +77,12 @@ private: afb_wsj1 *wsj1_ = nullptr; private: static struct afb_wsj1_itf wsj1_itf; - static void itf_hangup_(void *closure, struct afb_wsj1 *wsj1); - static void itf_on_call_(void *closure, const char *api, const char *verb, struct afb_wsj1_msg *msg); + static void itf_hangup_(void *closure, struct afb_wsj1 *wsj1){}; + static void itf_on_call_(void *closure, const char *api, const char *verb, struct afb_wsj1_msg *msg){}; static void itf_on_event_(void *closure, const char *event, struct afb_wsj1_msg *msg); private: - void on_hangup_(struct afb_wsj1 *wsj1) {} - void on_call_(const char *api, const char *verb, struct afb_wsj1_msg *msg) {} + void on_hangup_(struct afb_wsj1 *wsj1); + void on_call_(const char *api, const char *verb, struct afb_wsj1_msg *msg); void on_event_(const char *event, struct afb_wsj1_msg *msg); private: static sd_event *eloop_(); @@ -144,7 +144,12 @@ sd_event *wsj1::eloop_() { } } } +void wsj1::on_hangup_(struct afb_wsj1 *wsj1) { +}; +void wsj1::on_call_(const char *api, const char *verb, struct afb_wsj1_msg *msg) { + +}; }