Remove ecore_x dependency
[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 <glib.h>
25 #include <stdio.h>
26 #include <stdlib.h>
27 #include <stdbool.h>
28 #include <string.h>
29 #include <unistd.h>
30
31 #include "vc_defs.h"
32 #include "voice_control_common.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 #define TAG_VCC         "vcc"           /* Normal client log tag */
39 #define TAG_VCW         "vcw"           /* Widget client log tag */
40 #define TAG_VCM         "vcm"           /* Manager client log tag */
41 #define TAG_VCS         "vcsetting"     /* Setting client log tag */
42 #define TAG_VCINFO      "vcinfo"        /* info lib log tag */
43 #define TAG_VCCONFIG    "vcinfo"        /* config lib log tag */
44 #define TAG_VCCMD       "vccmd"         /* Command log tag */
45
46 /** 
47 * @brief A structure of handle for identification
48 */
49 struct vc_s {
50         int handle;
51 };
52
53 typedef struct vc_s *vc_h;
54
55 #ifdef __cplusplus
56 }
57 #endif
58
59 #endif /* __VC_CLIENT_H_ */