MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5filegroup.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2010 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _MH5FILEGROUP_H
26 #define _MH5FILEGROUP_H
27 
28 /*---includes for this file--------------------------------------------------*/
29 #include "fs_types.h"
30 #include "glue_queue.h"
31 #include "mh5gate.h"
32 /*---Constant and macro definitions for public use---------------------------*/
33 
34 /*---Enumerations for public use---------------------------------------------*/
35 
36 /*---Global type defs for public use-----------------------------------------*/
37 
38 
39 /*---Global variable declarations for public use-----------------------------*/
40 
41 /*---Global Function prototypes for public use-------------------------------*/
42 
49 void FG_Initialise( U32BIT nvmSize );
50 
55 void FG_Terminate( void );
56 
63 void FG_NotifyCarouselUnLoaded( H_ObjCarousel hOC );
64 
71 
78 
85 
91 E_FsStatus FG_LoadRequest( E_FS_ORIGIN origin, const char *fname,
92  F_FS_CALLBACK cb_func, S_CONTENT *pContent, U8BIT cachePriority );
93 
99 E_FsStatus FG_FileExists( E_FS_ORIGIN origin, const char *fname );
100 
106 void FG_FactoryReset( void );
107 
108 #endif /*_MH5FILEGROUP_H*/
void FG_FactoryReset(void)
In the "factory reset", we clear all file groups from cache store. Then re-aquire file groups for the...
void FG_NotifyCarouselUnLoaded(H_ObjCarousel hOC)
Tell File Group that the Object Carousel has been unloaded, so all file groups on this carousel shoul...
void FG_NotifyListChanged(S_DsmccEvent *param)
Tell File Group that File Groups have changed in Object Carousel's SRG User Info. ...
MHEG5 queue.
E_FsStatus FG_LoadRequest(E_FS_ORIGIN origin, const char *fname, F_FS_CALLBACK cb_func, S_CONTENT *pContent, U8BIT cachePriority)
Request file from file group stores.
Definition: fs_types.h:52
File System types.
Implement Functions to support Service Gateways. Functions for standarizing several GroupIDs like +DS...
void(* F_FS_CALLBACK)(E_FsStatus result, S_CONTENT *pContent)
Callback function to notify client of result for a file system load request. This is intented for asy...
Definition: fs_types.h:67
void FG_Initialise(U32BIT nvmSize)
Initialise - retrieve data from NVM storage for any file groups and allocate the file group list...
void FG_Terminate(void)
Terminate - free data associated with all file groups.
Definition: glue_queue.h:84
void FG_NotifyVersionChanged(S_DsmccEvent *param)
Tell File Group of version changed for File Group(s) in Object Carousel's SRG User Info...
void FG_NotifyListLoaded(S_DsmccEvent *param)
Tell File Group that File Groups have loaded in Object Carousel's SRG User Info.
E_FsStatus FG_FileExists(E_FS_ORIGIN origin, const char *fname)
Request file from file group stores.