Code Review
/
apps
/
agl-service-homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update lastest code from agl-service-homescreen-2017
[apps/agl-service-homescreen.git]
/
src
/
hs-helper.cpp
diff --git
a/src/hs-helper.c
b/src/hs-helper.cpp
similarity index 96%
rename from
src/hs-helper.c
rename to
src/hs-helper.cpp
index
3415510
..
452ae24
100644
(file)
--- a/
src/hs-helper.c
+++ b/
src/hs-helper.cpp
@@
-14,12
+14,18
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#include "hs-helper.h"
-#include <stdlib.h>
#include <string.h>
#include <string.h>
-#include <limits.h>
-#include <json-c/json.h>
-#include <stdarg.h>
+#include <cstdarg>
+#include "hs-helper.h"
+
+
+const char* evlist[] = {
+ "tap_shortcut",
+ "on_screen_message",
+ "on_screen_reply",
+ "reserved"
+ };
+
REQ_ERROR get_value_uint16(const struct afb_req request, const char *source, uint16_t *out_id)
{
REQ_ERROR get_value_uint16(const struct afb_req request, const char *source, uint16_t *out_id)
{