diff options
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ButtonNameMarshaller.gp')
-rw-r--r-- | SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ButtonNameMarshaller.gp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ButtonNameMarshaller.gp b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ButtonNameMarshaller.gp new file mode 100644 index 000000000..69f1aee66 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ButtonNameMarshaller.gp @@ -0,0 +1,32 @@ +%language=C++ +%struct-type +%define lookup-function-name getPointer +%define class-name ButtonName_intHash +%omit-struct-type +%readonly-tables +%compare-strncmp +%compare-lengths + +struct NsSmartDeviceLinkRPCV2::PerfectHashTable +{ + const char *name; + unsigned int idx; +}; + +%% +OK,0 +SEEKLEFT,1 +SEEKRIGHT,2 +TUNEUP,3 +TUNEDOWN,4 +PRESET_0,5 +PRESET_1,6 +PRESET_2,7 +PRESET_3,8 +PRESET_4,9 +PRESET_5,10 +PRESET_6,11 +PRESET_7,12 +PRESET_8,13 +PRESET_9,14 +CUSTOM_BUTTON,15 |