diff options
Diffstat (limited to 'src/policy_manager/zipc/dummy_stm.h')
-rw-r--r-- | src/policy_manager/zipc/dummy_stm.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/policy_manager/zipc/dummy_stm.h b/src/policy_manager/zipc/dummy_stm.h index 3748ecd..4c4a980 100644 --- a/src/policy_manager/zipc/dummy_stm.h +++ b/src/policy_manager/zipc/dummy_stm.h @@ -24,7 +24,6 @@ #define STM_FALSE 0 // Event number -#define STM_EVT_NO_NONE 0x01 #define STM_EVT_NO_ACTIVATE 0x02 #define STM_EVT_NO_DEACTIVATE 0x03 #define STM_EVT_NO_TRANS_GEAR_N 0x04 @@ -42,7 +41,6 @@ #define STM_EVT_NO_RESTRICTION_MODE_ON 0x10 // Category number -#define STM_CTG_NO_NONE 0x0100 #define STM_CTG_NO_HOMESCREEN 0x0200 #define STM_CTG_NO_MAP 0x0300 #define STM_CTG_NO_GENERAL 0x0400 @@ -122,8 +120,7 @@ enum stm_layout_ { }; enum stm_event_ { - gStmEventNoNone = 0, - gStmEventNoActive, + gStmEventNoActive = 0, gStmEventNoDeactive, gStmEventNoTransGearN, gStmEventNoTransGearNotN, @@ -141,13 +138,12 @@ enum stm_event_ { gStmEventNoNum, - gStmEventNoMin = gStmEventNoNone, + gStmEventNoMin = gStmEventNoActive, gStmEventNoMax = gStmEventNoNum - 1, }; enum stm_category_ { - gStmCategoryNoNone = 0, - gStmCategoryNoHomescreen, + gStmCategoryNoHomescreen = 0, gStmCategoryNoMap, gStmCategoryNoGeneral, gStmCategoryNoSplitable, @@ -157,7 +153,7 @@ enum stm_category_ { gStmCategoryNoNum, - gStmCategoryNoMin = gStmCategoryNoNone, + gStmCategoryNoMin = gStmCategoryNoHomescreen, gStmCategoryNoMax = gStmCategoryNoNum - 1, }; @@ -179,15 +175,14 @@ enum stm_area_ { }; enum stm_layer_ { - gStmLayerNoNone = 0, - gStmLayerNoHomescreen, + gStmLayerNoHomescreen = 0, gStmLayerNoApps, gStmLayerNoRestriction, gStmLayerNoOnScreen, gStmLayerNoNum, - gStmLayerNoMin = gStmLayerNoNone, + gStmLayerNoMin = gStmLayerNoHomescreen, gStmLayerNoMax = gStmLayerNoNum - 1, }; @@ -206,17 +201,16 @@ enum stm_car_element_ { gStmCarElementNoMax = gStmCarElementNoNum - 1, }; +// String for state extern const char* gStmEventName[]; extern const int gStmEventNo[]; extern const char* gStmCategoryName[]; extern const int gStmCategoryNo[]; extern const char* gStmAreaName[]; extern const int gStmAreaNo[]; +extern const char* gStmLayoutName[]; extern const char* gStmLayerName[]; extern const char* gStmCarElementName[]; - -// String for state -extern const char* gStmLayoutNo2Name[]; extern const char** gStmCarStateNameList[]; // Struct for state |