summaryrefslogtreecommitdiff
path: root/include/tv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tv.h')
-rw-r--r--include/tv.h98
1 files changed, 0 insertions, 98 deletions
diff --git a/include/tv.h b/include/tv.h
deleted file mode 100644
index 1794033..0000000
--- a/include/tv.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __TV_H__
-#define __TV_H__
-
-#include <stdbool.h>
-#include <Elementary.h>
-
-#define CHANNEL_NAME_MAX 128
-#define PROG_TITLE_MAX 128
-#define PROG_DESCR_MAX 128
-
-#define MAJOR_MAX 135
-#define MINOR_MAX 999
-#define EPG_PROGRAM_OFFSET 25000
-
-struct tv_channel_info {
- int service_id;
- long channel_major;
- long channel_minor;
- unsigned int channel_type;
-
- char channel_name[CHANNEL_NAME_MAX];
- time_t start_time;
- time_t end_time;
- time_t duration;
-
- int locked;
- int digital;
- int favorite;
- int remembered;
- int tune_locked;
-};
-
-struct tv_program_info {
- int service_id;
- time_t start_time;
- time_t end_time;
- time_t duration;
- time_t current_time;
- char prog_title[PROG_TITLE_MAX];
- char prog_description[PROG_DESCR_MAX];
-};
-
-struct tv_program_request {
- void (*tv_program_cb)(Eina_List *program_list, void *user_data);
- void *user_data;
-};
-
-int tv_create(void);
-int tv_destroy(void);
-int tv_pause(void);
-int tv_resume(void);
-
-int tv_overlay_set(void *window_id);
-
-Eina_List *tv_channel_get_list(void);
-Eina_List *tv_channel_get_favorite_list(void);
-Eina_List *tv_channel_search_by_number(long major, long minor);
-void tv_channel_del_list(Eina_List *channel_list);
-int tv_get_current_service_id(int *service_id);
-int tv_channel_tune(void);
-int tv_channel_tune_prev_channel(void);
-int tv_channel_direct_tune(long major, long minor);
-int tv_channel_tune_with_service_id(int service_id);
-int tv_channel_tune_locked_channel(int service_id, char *password);
-int tv_channel_set_favorite(int service_id, Eina_Bool flag);
-int tv_channel_add_channel(int service_id);
-int tv_channel_del_channel(int service_id);
-int tv_channel_lock_channel(int service_id, char *password);
-int tv_channel_unlock_channel(int service_id, char *password);
-const struct tv_channel_info *tv_channel_get_info(void);
-const struct tv_channel_info *tv_channel_clone_info(
- const struct tv_channel_info *channel_info);
-void tv_channel_del_info(const struct tv_channel_info *channel_info);
-
-int tv_epg_get_program(int service_id, struct tv_program_request *request);
-int tv_epg_get_cache_program(int service_id,
- struct tv_program_request *request);
-int tv_epg_get_program_list(int service_id, struct tv_program_request *request);
-
-void tv_signal_cb_set(void (*cb)(void *data, int is_signal), void *data);
-
-#endif /* __TV_H__ */