Change the names of definitions in voice_control_command.h 39/96539/2 accepted/tizen/common/20161109.140817 accepted/tizen/ivi/20161110.001934 accepted/tizen/mobile/20161110.001838 accepted/tizen/tv/20161110.001856 accepted/tizen/wearable/20161110.001914 submit/tizen/20161109.102925
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 9 Nov 2016 08:52:17 +0000 (17:52 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Wed, 9 Nov 2016 10:19:43 +0000 (19:19 +0900)
Change-Id: I7930bf445a98c59b3a9abc0345e3d48f55c4e3d9
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
client/vc_mgr.c
include/voice_control_command.h

index ab5c2f4..a78e2b5 100644 (file)
@@ -627,12 +627,12 @@ int vc_mgr_is_command_format_supported(vc_cmd_format_e format, bool* support)
        }
 
        switch (format) {
-               case VC_CMD_FORMAT_FIXED:               *support = true;                break;
-               case VC_CMD_FORMAT_FIXED_AND_VFIXED:    *support = true;                break;
-               case VC_CMD_FORMAT_VFIXED_AND_FIXED:    *support = true;                break;
-               case VC_CMD_FORMAT_FIXED_AND_NONFIXED:  *support = non_fixed_support;   break;
-               case VC_CMD_FORMAT_NONFIXED_AND_FIXED:  *support = non_fixed_support;   break;
-               default:                                *support = false;               break;
+       case VC_CMD_FORMAT_FIXED:               *support = true;                break;
+       case VC_CMD_FORMAT_FIXED_AND_VFIXED:    *support = true;                break;
+       case VC_CMD_FORMAT_VFIXED_AND_FIXED:    *support = true;                break;
+       case VC_CMD_FORMAT_FIXED_AND_NONFIXED:  *support = non_fixed_support;   break;
+       case VC_CMD_FORMAT_NONFIXED_AND_FIXED:  *support = non_fixed_support;   break;
+       default:                                *support = false;               break;
        }
 
        SLOG(LOG_ERROR, TAG_VCM, "[DEBUG] Format(%d) support(%s)", format, *support ? "true" : "false");
index 17aa455..8073991 100644 (file)
@@ -38,31 +38,31 @@ extern "C"
  * @brief Definition for fixed command format
  * @since_tizen 3.0
  */
-#define VC_CMD_FORMAT_FIXED    0
+#define VC_COMMAND_FORMAT_FIXED        0
 
 /**
  * @brief Definition for fixed and variable fixed command format
  * @since_tizen 3.0
  */
-#define VC_CMD_FORMAT_FIXED_AND_VFIXED 1
+#define VC_COMMAND_FORMAT_FIXED_AND_VFIXED     1
 
 /**
  * @brief Definition for variable fixed and fixed command format
  * @since_tizen 3.0
  */
-#define VC_CMD_FORMAT_VFIXED_AND_FIXED 2
+#define VC_COMMAND_FORMAT_VFIXED_AND_FIXED     2
 
 /**
  * @brief Definition for fixed and non-fixed command format
  * @since_tizen 3.0
  */
-#define VC_CMD_FORMAT_FIXED_AND_NONFIXED       3
+#define VC_COMMAND_FORMAT_FIXED_AND_NONFIXED   3
 
 /**
  * @brief Definition for non-fixed and fixed command format
  * @since_tizen 3.0
  */
-#define VC_CMD_FORMAT_NONFIXED_AND_FIXED       4
+#define VC_COMMAND_FORMAT_NONFIXED_AND_FIXED   4
 
 
 /**