aboutsummaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer-binding/source.hpp')
-rw-r--r--signal-composer-binding/source.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/signal-composer-binding/source.hpp b/signal-composer-binding/source.hpp
index b4f1348..bc28b54 100644
--- a/signal-composer-binding/source.hpp
+++ b/signal-composer-binding/source.hpp
@@ -46,6 +46,9 @@ public:
void init();
std::string api() const;
+
+ static void onSourceEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api);
+ static void onSignalEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api);
const struct signalsDefault& signalsDefault() const;
void addSignal(const std::string& id, const std::string& event, std::vector<std::string>& sources, int retention, const std::string& unit, json_object *metadata, double frequency, CtlActionT* onReceived, json_object* getSignalsArgs);