Fixed vce command header 48/177448/1
authorsungrae jo <seongrae.jo@samsung.com>
Mon, 30 Apr 2018 04:47:03 +0000 (13:47 +0900)
committersungrae jo <seongrae.jo@samsung.com>
Mon, 30 Apr 2018 04:47:03 +0000 (13:47 +0900)
Change-Id: Icd9d26f65494cfbb5791e18c28f9e603a0294e0a
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
include/vce.h
server/vcd_main.h

index 2712547..d37ffbe 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef __VCE_H__
 #define __VCE_H__
 
-#include <tizen.h>
 
 /**
 * @addtogroup CAPI_UIX_VOICE_CONTROL_ENGINE_MODULE
@@ -105,7 +104,7 @@ typedef enum {
 * @brief A structure of handle for VC command.
 * @since_tizen 5.0
 */
-typedef int vce_cmd_h;
+typedef struct vce_cmd_s* vce_cmd_h;
 
 /**
 * @brief Definition for foreground command type.
index 9393804..72e105c 100644 (file)
@@ -73,6 +73,10 @@ typedef enum {
 } vcd_state_e;
 
 typedef struct {
+       int index;
+} vce_cmd_s;
+
+typedef struct {
        int version;                                            /**< Version */
 
        /* Mandatory callbacks */