X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-helper.h;h=fe743038cbbebceafda985a2cc7329b5cf2b173a;hb=bb38a76d1b00e93187967aa2880e79e671f02eba;hp=5ce9eb527d12bb8016520c256f9f7935602e46b4;hpb=67962d9837ea37b10c2cf906cbde575cce18ab4b;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-helper.h b/src/hs-helper.h index 5ce9eb5..fe74303 100644 --- a/src/hs-helper.h +++ b/src/hs-helper.h @@ -18,9 +18,8 @@ #define HOMESCREEN_HELPER_H #define AFB_BINDING_VERSION 2 #include -#include -#include -#include +#include + typedef enum REQ_ERROR { @@ -30,12 +29,7 @@ typedef enum REQ_ERROR OUT_RANGE }REQ_ERROR; -static const char* evlist[] = { - "tap_shortcut", - "on_screen_message", - "on_screen_reply", - "reserved" - }; +extern const char* evlist[]; REQ_ERROR get_value_uint16(const struct afb_req request, const char *source, uint16_t *out_id); REQ_ERROR get_value_int16(const struct afb_req request, const char *source, int16_t *out_id);