Modify function argument from char to json
[src/libhomescreen.git] / include / libhomescreen.hpp
index 5720368..9034dc8 100644 (file)
@@ -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,