diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-03-29 17:44:48 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-19 17:30:28 +0200 |
commit | cbfe3d859515a593fbad5edd82f5a9162749476b (patch) | |
tree | 5deca53d5963be2e02dd7df0a1f94c5aa7203420 /signal-composer-binding/source.cpp | |
parent | a53418f75db2d4a9f0cb941de812b27024381b07 (diff) |
Git submodule migration to separated librariesguppy_7.0.2guppy/7.0.27.0.2
Replace controller binder functions definition with the binder ones
and remove the submodules in favor of the separated libraries.
Bug-AGL: SPEC-2139
Change-Id: I06e5e7a03a918bf0ce139636104e1a73d2442a09
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/source.cpp')
-rw-r--r-- | signal-composer-binding/source.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/signal-composer-binding/source.cpp b/signal-composer-binding/source.cpp index 17bcbb4..4b21443 100644 --- a/signal-composer-binding/source.cpp +++ b/signal-composer-binding/source.cpp @@ -75,7 +75,7 @@ std::string SourceAPI::api() const /// @param[in] object - eventual data that comes with the event /// @param[in] object - the api that subscribed the event /// -void SourceAPI::onSourceEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api) +void SourceAPI::onSourceEvents(void *closure, const char *event_name, json_object *event_obj, afb_api_t api) { std::vector<std::shared_ptr<Signal>> signals { Composer::instance().searchSignals(event_name) }; @@ -132,7 +132,7 @@ void SourceAPI::onSourceEvents(void *closure, const char *event_name, json_objec /// @param[in] object - eventual data that comes with the event /// @param[in] object - the api that subscribed the event /// -void SourceAPI::onSignalEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api) +void SourceAPI::onSignalEvents(void *closure, const char *event_name, json_object *event_obj, afb_api_t api) { Signal *sig = (Signal*) closure; sig->onReceivedCB(event_obj); @@ -237,7 +237,7 @@ int SourceAPI::cleanNotSubscribedSignals() { return erased; } -int SourceAPI::makeSubscription(AFB_ReqT request) +int SourceAPI::makeSubscription(afb_req_t request) { int err = 0; if(getSignals_) |