aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:46:17 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:46:17 +0900
commit47970b233fe3452d7a72e382578adc6fa9218f80 (patch)
tree58650cdde83726504ce32bc53fb08d529ff69da0 /include
parent1210883bae3580bd60107d3a746b6b557d002d33 (diff)
Modified functional argument from char to json
Change libhomescreen event api from char to json. Also modify sample who use this. Change-Id: Id3986d413f9494019f6b175488dd73de226ba020 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'include')
-rw-r--r--include/libhomescreen.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libhomescreen.hpp b/include/libhomescreen.hpp
index 5720368..9034dc8 100644
--- a/include/libhomescreen.hpp
+++ b/include/libhomescreen.hpp
@@ -38,7 +38,7 @@ public:
LibHomeScreen(const LibHomeScreen &) = delete;
LibHomeScreen &operator=(const LibHomeScreen &) = delete;
- using handler_func = std::function<void(const char*)>;
+ using handler_func = std::function<void(json_object*)>;
enum EventType {
Event_TapShortcut = 1,