Tizen 2.1 base
[apps/core/preloaded/ug-camera-efl.git] / include / cam_voice_command.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *        http://floralicense.org/license/\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 #ifndef __CAM_VOICE_COMMAND_H__\r
18 #define __CAM_VOICE_COMMAND_H__\r
19 \r
20 #include "glib.h"\r
21 \r
22 typedef enum {\r
23         CAM_VIOCE_CMD_MIN,\r
24         CAM_VOICE_CMD_READY,\r
25         CAM_VOICE_CMD_REJECT,\r
26         CAM_VOICE_CMD_ERROR,\r
27         CAM_VOICE_CMD_MAX\r
28 }CamVoiceCmdState;\r
29 \r
30 \r
31 typedef void (*cam_voice_cmd_cb)(CamVoiceCmdState state, void* data);\r
32 \r
33 gboolean cam_voice_cmd_create(cam_voice_cmd_cb cmd_cb, void *data);\r
34 void cam_voice_cmd_destroy();\r
35 \r
36 #endif\r
37 \r