From 358f8b12f6d858473b0bfbd6ed9b191cd94f7b02 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Fri, 1 Jun 2018 00:26:03 +0900 Subject: Add subscribe function in app.cpp to control from main.cpp Change-Id: I69ef05d99dffcdbc7ffccb019821011c5bef9d46 Signed-off-by: Kazumasa Mitsunari --- src/app.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app.hpp') diff --git a/src/app.hpp b/src/app.hpp index 7782e04..4d079c1 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -233,6 +233,7 @@ struct App //static int processTimerHandler(sd_event_source *s, uint64_t usec, void *userdata); void timerHandler(); void removeClient(const std::string &appid); + bool subscribeEventForApp(const std::string &appid, afb_req req, const std::string &evname); private: optional lookup_id(char const *name); -- cgit 1.2.3-korg