summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-21 17:05:34 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-21 17:06:20 +0100
commitf07a6f0cf5f77f54d69a57eb291ffa91fa2ef359 (patch)
tree2cce4eb2ad6970d7a95a5ff8878e16ea1f16e3c7 /signal-composer-binding/signal-composer-binding.hpp
parentb77795e5c12be30a1fd2cc14b1b2b8cb83a58f4d (diff)
Using AppFw CPP capabilities
Generate headers from afb-genskel with CPP options which generate correctly the header for a CPP project. Change-Id: Ibb64de25ca510a82bc91ba938fc221d9b820e175 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/signal-composer-binding.hpp')
-rw-r--r--signal-composer-binding/signal-composer-binding.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/signal-composer-binding/signal-composer-binding.hpp b/signal-composer-binding/signal-composer-binding.hpp
index 8599a13..24943ca 100644
--- a/signal-composer-binding/signal-composer-binding.hpp
+++ b/signal-composer-binding/signal-composer-binding.hpp
@@ -1,10 +1,7 @@
#pragma once
-extern "C"
-{
- #define AFB_BINDING_VERSION 2
- #include <afb/afb-binding.h>
-}
+#define AFB_BINDING_VERSION 2
+#include <afb/afb-binding>
void onEvent(const char *event, struct json_object *object);
int loadConf();