Pepper_47_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
samsung
pp_epg_event_samsung.h
Go to the documentation of this file.
1
/* Copyright (c) 2015 Samsung Electronics. All rights reserved.
2
*/
3
4
/* From samsung/pp_epg_event_samsung.idl modified Wed Oct 26 09:30:46 2016. */
5
6
#ifndef PPAPI_C_SAMSUNG_PP_EPG_EVENT_SAMSUNG_H_
7
#define PPAPI_C_SAMSUNG_PP_EPG_EVENT_SAMSUNG_H_
8
9
#include "
ppapi/c/pp_bool.h
"
10
#include "
ppapi/c/pp_macros.h
"
11
#include "
ppapi/c/pp_stdint.h
"
12
#include "
ppapi/c/pp_time.h
"
13
#include "
ppapi/c/pp_var.h
"
14
15
/**
16
* @file
17
* This file defines the helper structures for
18
* <code>PPB_ProgramSchedule_Samsung</code> interface.
19
*/
20
21
22
/**
23
* @addtogroup Enums
24
* @{
25
*/
26
/** Enum describing type of the TV service. */
27
typedef
enum
{
28
PP_SERVICE_TYPE_INVALID
= -1,
29
PP_SERVICE_TYPE_TV
30
}
PP_ServiceType
;
31
PP_COMPILE_ASSERT_SIZE_IN_BYTES
(
PP_ServiceType
, 4);
32
/**
33
* @}
34
*/
35
36
/**
37
* @addtogroup Structs
38
* @{
39
*/
40
/** Structure representing rating information. */
41
struct
PP_RatingInfo
{
42
/** Rating system ID. */
43
char
ratingSystem
;
44
/** Rating value. */
45
char
rating
;
46
/** Rating dimension. */
47
char
rating_vsld
;
48
};
49
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES
(
PP_RatingInfo
, 3);
50
51
/** Structure representing EPG data of a TV program. */
52
struct
PP_EPGEvent
{
53
/** Duration time of the TV program. */
54
PP_TimeDelta
duration_time
;
55
/** Start time of the TV program. */
56
PP_Time
start_time
;
57
/** Title of the TV program. */
58
struct
PP_Var
title_text
;
59
/** Describtion of the TV program. */
60
struct
PP_Var
desc
;
61
/** ID of the TV program. */
62
uint32_t
eventID
;
63
/** Rating information of the TV program. */
64
struct
PP_RatingInfo
ratingInfo
;
65
};
66
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES
(
PP_EPGEvent
, 56);
67
/**
68
* @}
69
*/
70
71
#endif
/* PPAPI_C_SAMSUNG_PP_EPG_EVENT_SAMSUNG_H_ */
72
pp_macros.h
PP_EPGEvent::start_time
PP_Time start_time
Definition:
pp_epg_event_samsung.h:56
PP_Time
double PP_Time
Definition:
pp_time.h:29
PP_EPGEvent::ratingInfo
struct PP_RatingInfo ratingInfo
Definition:
pp_epg_event_samsung.h:64
PP_COMPILE_ASSERT_SIZE_IN_BYTES
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ServiceType, 4)
pp_bool.h
PP_EPGEvent::title_text
struct PP_Var title_text
Definition:
pp_epg_event_samsung.h:58
PP_EPGEvent::desc
struct PP_Var desc
Definition:
pp_epg_event_samsung.h:60
PP_RatingInfo
Definition:
pp_epg_event_samsung.h:41
PP_RatingInfo::ratingSystem
char ratingSystem
Definition:
pp_epg_event_samsung.h:43
PP_SERVICE_TYPE_INVALID
Definition:
pp_epg_event_samsung.h:28
PP_SERVICE_TYPE_TV
Definition:
pp_epg_event_samsung.h:29
PP_EPGEvent::duration_time
PP_TimeDelta duration_time
Definition:
pp_epg_event_samsung.h:54
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_RatingInfo, 3)
PP_Var
Definition:
pp_var.h:166
PP_EPGEvent
Definition:
pp_epg_event_samsung.h:52
pp_stdint.h
pp_var.h
PP_RatingInfo::rating
char rating
Definition:
pp_epg_event_samsung.h:45
PP_TimeDelta
double PP_TimeDelta
Definition:
pp_time.h:49
PP_EPGEvent::eventID
uint32_t eventID
Definition:
pp_epg_event_samsung.h:62
PP_ServiceType
PP_ServiceType
Definition:
pp_epg_event_samsung.h:27
pp_time.h
PP_RatingInfo::rating_vsld
char rating_vsld
Definition:
pp_epg_event_samsung.h:47
Generated on Wed Apr 5 2017 11:09:17 for Pepper_47_C_interfaces by
1.8.6