diff options
author | Alexander Kutsan <akutsan@luxoft.com> | 2017-09-06 00:11:57 +0300 |
---|---|---|
committer | Alexander Kutsan <akutsan@luxoft.com> | 2017-09-06 00:11:57 +0300 |
commit | cd60114d321d2584c5ef7ff6381e57ebe630753f (patch) | |
tree | 999ee39ff13ed74445c2854c4b7a16e396ab744c | |
parent | 8c784e0bea166c28e93f7fd9a407823ddfbb4f82 (diff) | |
download | sdl_core-cd60114d321d2584c5ef7ff6381e57ebe630753f.tar.gz |
Remove hardcoded HMI and mobile function ids
-rw-r--r-- | src/components/functional_module/include/functional_module/function_ids.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/functional_module/include/functional_module/function_ids.h b/src/components/functional_module/include/functional_module/function_ids.h index ad6bdca736..1a504df6c9 100644 --- a/src/components/functional_module/include/functional_module/function_ids.h +++ b/src/components/functional_module/include/functional_module/function_ids.h @@ -32,16 +32,18 @@ #ifndef SRC_COMPONENTS_FUNCTIONAL_MODULE_INCLUDE_FUNCTIONAL_MODULE_FUNCTION_IDS_H_ #define SRC_COMPONENTS_FUNCTIONAL_MODULE_INCLUDE_FUNCTIONAL_MODULE_FUNCTION_IDS_H_ +#include "interfaces/MOBILE_API.h" +#include "interfaces/HMI_API.h" namespace functional_modules { enum RCFunctionID { // Remote SDL functions ids - BUTTON_PRESS = 41, - GET_INTERIOR_VEHICLE_DATA = 43, - SET_INTERIOR_VEHICLE_DATA = 44, - ON_INTERIOR_VEHICLE_DATA = 32783, - ON_REMOTE_CONTROL_SETTINGS, + BUTTON_PRESS = mobile_apis::FunctionID::ButtonPressID, + GET_INTERIOR_VEHICLE_DATA = mobile_apis::FunctionID::GetInteriorVehicleDataID, + SET_INTERIOR_VEHICLE_DATA = mobile_apis::FunctionID::SetInteriorVehicleDataID, + ON_INTERIOR_VEHICLE_DATA = mobile_apis::FunctionID::OnInteriorVehicleDataID, + ON_REMOTE_CONTROL_SETTINGS = hmi_apis::FunctionID::RC_OnRemoteControlSettings, }; namespace hmi_api { |