aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-20 16:54:53 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-21 06:44:35 +0000
commita65ed04064a6930d072b2d7b73a76911f8672bb7 (patch)
treef48717c2c19830bc9702635cbb3e670f3e258f3b /src/app.hpp
parent72295a67230bceb2777fca41fda92098acc15fab (diff)
Clean up source codeeel_4.99.5eel/4.99.54.99.5
To reduce the files and redundant code, * Remove afb_binding_api.* files and generate-binding-glue.py. * Merge them into other source codes. Change-Id: Ib61350ee6a42d73efc3fa29fa0c4868145a88e2e Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/app.hpp b/src/app.hpp
index ee4e732..5ec19ae 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -24,8 +24,6 @@
#include <unordered_map>
#include <unordered_set>
#include <experimental/optional>
-
-#include "afb_binding_api.hpp"
#include "config.hpp"
#include "controller_hooks.hpp"
#include "layers.hpp"
@@ -144,7 +142,6 @@ struct App {
"flushdraw"
};
- struct binding_api api;
struct controller_hooks chooks;
// This is the one thing, we do not own.
@@ -195,6 +192,8 @@ struct App {
char const *api_enddraw(char const *drawing_name);
char const *api_subscribe(afb_req *req, char const *event_name);
void api_ping();
+ void send_event(char const *evname, char const *label);
+ void send_event(char const *evname, char const *label, char const *area);
// Events from the compositor we are interested in
void surface_created(uint32_t surface_id);