MHEG5
15.3.0
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * Copyright © 2010 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 *******************************************************************************/ 00025 #ifndef _MH5FILEGROUP_H 00026 #define _MH5FILEGROUP_H 00027 00028 /*---includes for this file--------------------------------------------------*/ 00029 #include "fs_types.h" 00030 #include "glue_queue.h" 00031 00032 /*---Constant and macro definitions for public use---------------------------*/ 00033 00034 /*---Enumerations for public use---------------------------------------------*/ 00035 00036 /*---Global type defs for public use-----------------------------------------*/ 00037 00038 typedef enum 00039 { 00040 FGO_DSM, 00041 FGO_CI, 00042 FGO_HTTP, 00043 } E_FG_ORIGIN; 00044 00045 /*---Global variable declarations for public use-----------------------------*/ 00046 00047 /*---Global Function prototypes for public use-------------------------------*/ 00048 00055 void FG_Initialise( U32BIT nvmSize ); 00056 00061 void FG_Terminate( void ); 00062 00070 void FG_FetchManifests( H_ObjCarousel hOC, U8BIT cachePriority ); 00071 00078 void FG_ClearManifests( H_ObjCarousel hOC ); 00079 00085 void FG_NotifyFileGroupChanged(S_DsmccEvent *param); 00086 00092 E_FsStatus FG_LoadRequest( E_FG_ORIGIN origin, char *fname, 00093 F_FS_CALLBACK cb_func, S_CONTENT *pContent ); 00094 00100 E_FsStatus FG_FileExists( E_FG_ORIGIN origin, char *fname ); 00101 00107 void FG_FactoryReset( void ); 00108 00109 #endif /*_MH5FILEGROUP_H*/