tv-service  0.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tv_service_proxy_base.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
4 *
5 * libtvs-scan TV Service Library
6 *
7 * Filename: tv_service_base.h
8 * Description: TV Service Base interfaces.
9 * Contact: Tang Daoguang <dguang.tang@samsung.com>
10 *
11 * Licensed under the Apache License, Version 2.0 (the "License");
12 * you may not use this file except in compliance with the License.
13 * You may obtain a copy of the License at
14 *
15 * http://www.apache.org/licenses/LICENSE-2.0
16 *
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
22 *
23 */
24 
29 #ifndef __TV_SERVICE_BASE_H_
30 #define __TV_SERVICE_BASE_H_
31 
32 #include <glib.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #define TVP_ERROR_NONE 0
39 #define INVALID_PID (0x1fff)
40 #define INVAILD_MINOR_NUMBER (0xf000)
41 
45 typedef enum
46 {
60 
65 typedef enum
66 {
82 
87 typedef enum
88 {
96 
101 typedef enum
102 {
110 
115 typedef enum
116 {
123 
128 typedef enum
129 {
135 
140 typedef enum
141 {
146 
151 typedef enum
152 {
153  TV_SERVICE_ANTENNA_TYPE_UNDEFINED = -1, /* Unknown type */
154  TV_SERVICE_ANTENNA_TYPE_AIR, /* Antenna air type */
155  TV_SERVICE_ANTENNA_TYPE_CABLE, /* Antenna cable type */
156  TV_SERVICE_ANTENNA_TYPE_ALL /*Antenna all type */
158 
163 typedef enum
164 {
165  TV_SERVICE_CHANNEL_MODE_UNDEFINED = -1, /* Unknown mode */
166  TV_SERVICE_CHANNEL_MODE_ALL, /* ALL channel mode */
167  TV_SERVICE_CHANNEL_MODE_DIGITAL, /* Digital channel mode */
168  TV_SERVICE_CHANNEL_MODE_ANALOG, /* Analog channel mode */
169  TV_SERVICE_CHANNEL_MODE_DIGITAL_ANALOG, /* Digital & Analog channel mode*/
170  TV_SERVICE_CHANNEL_MODE_FAVORITE, /* Analog channel mode */
171  TV_SERVICE_CHANNEL_MODE_ALL_DIGITAL_ANALOG /* Digital & Analog channel mode (include delete channel)*/
173 
178 typedef enum
179 {
192 
197 typedef enum
198 {
205 
206 #ifdef __cplusplus
207 }
208 #endif
209 
210 #endif /* __TV_SERVICE_BASE_H_ */
211