HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
collection.h
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2013 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  *******************************************************************************/
26 // pre-processor mechanism so multiple inclusions don't cause compilation error
27 #ifndef _COLLECTION_H
28 #define _COLLECTION_H
29 
30 #include "npapi.h"
31 #include "npfunctions.h"
32 #include "plugin.h"
33 
34 //---Constant and macro definitions for public use-----------------------------
35 
36 
37 //---Enumerations for public use-----------------------------------------------
38 typedef enum
39 {
40  COLLECTION_STRING, /* Returns objects of type HBBTV_JSObjType_String */
41  COLLECTION_CHANNELLIST, /* Returns objects of type HBBTV_JSObjType_Channel */
42  COLLECTION_PROGRAMME, /* Returns objects of type HBBTV_JSObjType_Programme */
43  COLLECTION_AVCOMPONENT, /* Returns objects of type HBBTV_JSObjType_AVComponent */
44  COLLECTION_PARENTALRATING, /* Returns objects of type HBBTV_JSObjType_ParentalRating */
45  COLLECTION_PARENTALRATINGSCHEME, /* Returns objects of type HBBTV_JSObjType_ParentalRatingScheme */
46  COLLECTION_SCHEDULEDRECORDING, /* Returns objects of type HBBTV_JSObjType_ScheduledRecording */
47  COLLECTION_NETWORKINTERFACE, /* Returns objects of type HBBTV_JSObjType_NetworkInterface */
48  COLLECTION_COLLECTION, /* Returns objects of type HBBTV_JSObjType_Collection */
49  COLLECTION_SEARCHRESULTS, /* Returns objects of type HBBTV_JSObjType_Programme */
50  COLLECTION_MAX /* Not valid */
51 } S_COLLECTION_TYPE;
52 
53 
54 //---Global type defs for public use-------------------------------------------
55 
56 //---Global Function prototypes for public use---------------------------------
57 
58 NPObject* CollectionCreate(NPP instance, void *handle, S_COLLECTION_TYPE type);
59 
60 #endif /*_COLLECTION_H*/
Definition: npapi.h:178
NPAPI Plugin.
Definition: npruntime.h:323