MHEG5
15.3.0
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * Copyright © 2012 Ocean Blue Software Ltd 00004 * 00005 * This file is part of a DTVKit Software Component 00006 * You are permitted to copy, modify or distribute this file subject to the terms 00007 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00008 * 00009 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00010 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00011 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00012 * 00013 * If you or your organisation is not a member of DTVKit then you have access 00014 * to this source code outside of the terms of the licence agreement 00015 * and you are expected to delete this and any associated files immediately. 00016 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00017 *******************************************************************************/ 00028 #ifndef _DVB_MISC_H 00029 #define _DVB_MISC_H 00030 00031 #include "techtype.h" 00032 #include "mherrors.h" 00033 00034 /*---Constant and macro definitions for public use-----------------------------*/ 00035 00036 /*---Enumerations for public use-----------------------------------------------*/ 00037 00038 /*---Global type defs for public use-------------------------------------------*/ 00039 00040 /* Structure for holding date and time. */ 00041 typedef struct s_datetime 00042 { 00043 /* Examples show the values that should be set to indicate the 1st February, 00044 * 2003 at 45 seconds past 1:23 PM. 00045 */ 00046 00047 /* Year, including century. 00048 * e.g. 2003 00049 */ 00050 U32BIT year; 00051 00052 /* Month number from 1 to 12, representing January to December 00053 * e.g. 2 00054 */ 00055 U32BIT month; 00056 00057 /* Day of the current month, from 1 to 31 00058 * e.g. 1 00059 */ 00060 U32BIT day; 00061 00062 /* Hour in 24 hour format, in the range 0 to 23 00063 * e.g. 13 00064 */ 00065 U32BIT hour; 00066 00067 /* Minute, in the range 0 to 59 00068 * e.g. 23 00069 */ 00070 U32BIT minute; 00071 00072 /* Second in the range 0 to 59 00073 * e.g. 45 00074 */ 00075 U32BIT second; 00076 } S_DateTime; 00077 00078 00079 /*---Global Function prototypes for public use---------------------------------*/ 00080 00091 E_MhegErr DVB_MhegGetLocalTime(S_DateTime *pDateAndTime); 00092 00117 void DVB_MhegPromotionalLinkControl( BOOLEAN isEnabled ); 00118 00119 #ifdef NOTIFY_KEYPRESS_REQ 00120 00127 E_MhegErr DVB_MhegSetInputRegister(S32BIT inputReg); 00128 00129 #endif /* NOTIFY_KEYPRESS_REQ */ 00130 00131 #ifdef INCLUDE_DEBUG_PACKAGE 00132 00138 E_MhegErr DVB_MhegOutputDebugString(U8BIT *debugString); 00139 00140 #endif /* INCLUDE_DEBUG_PACKAGE */ 00141 00142 #endif /* _DVB_MISC_H */