b94c446e4ac7c4367b2e155cec3dcf6296ffe6fa
[platform/core/uifw/voice-control.git] / common / vc_main.h
1 /*
2 * Copyright (c) 2011-2015 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17  
18 #ifndef __VC_MAIN_H_
19 #define __VC_MAIN_H_
20
21 #include <dbus/dbus.h>
22 #include <dlog.h>
23 #include <Ecore.h>
24 #include <Ecore_X.h>
25 #include <glib.h>
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include <stdbool.h>
29 #include <string.h>
30 #include <unistd.h>
31
32 #include "vc_defs.h"
33 #include "voice_control_common.h"
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
39 #define TAG_VCC         "vcc"           /* Normal client log tag */
40 #define TAG_VCW         "vcw"           /* Widget client log tag */
41 #define TAG_VCM         "vcm"           /* Manager client log tag */
42 #define TAG_VCS         "vcsetting"     /* Setting client log tag */
43 #define TAG_VCINFO      "vcinfo"        /* info lib log tag */
44 #define TAG_VCCONFIG    "vcinfo"        /* config lib log tag */
45 #define TAG_VCCMD       "vccmd"         /* Command log tag */
46
47 /** 
48 * @brief A structure of handle for identification
49 */
50 struct vc_s {
51         int handle;
52 };
53
54 typedef struct vc_s *vc_h;
55
56 #ifdef __cplusplus
57 }
58 #endif
59
60 #endif /* __VC_CLIENT_H_ */