Wasabi ExpressPlay SDK for iOS  1.10
ShiAttributes.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Sushi - Attributes
4 |
5 | $Id: ShiAttributes.h 7930 2014-06-25 11:05:10Z jebaseelir $
6 | Original author: Gilles Boccon-Gibod
7 |
8 | This software is provided to you pursuant to your agreement
9 | with Intertrust Technologies Corporation ("Intertrust").
10 | This software may be used only in accordance with the terms
11 | of the agreement.
12 |
13 | Copyright (c) 2005-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _SHI_ATTRIBUTES_H_
22 #define _SHI_ATTRIBUTES_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "ShiResults.h"
28 #include "ShiTypes.h"
29 #include "ShiInterfaces.h"
30 
31 /*----------------------------------------------------------------------
32 | constants
33 +---------------------------------------------------------------------*/
42 #define SHI_ATTRIBUTE_FLAG_VALUE_IS_CRITICAL 1
43 
48 #define SHI_ATTRIBUTE_FLAG_VALUE_IS_HUMAN_READABLE 2
49 
50 /*----------------------------------------------------------------------
51 | types
52 +---------------------------------------------------------------------*/
56 typedef enum {
66 
71 typedef struct {
72  const char* mime_type;
73  const char* language;
75 } SHI_Resource;
76 
82 typedef union {
83  const char* string;
90 
91 /*----------------------------------------------------------------------
92 | interfaces
93 +---------------------------------------------------------------------*/
94 #if defined(__cplusplus)
95 extern "C" {
96 #endif
97 
111 
126 
135 const char*
137 
147 
158 SHI_Flags
160 
175 
187 
202  const char* name,
203  SHI_Attribute** child);
204 
219  SHI_Ordinal indx,
220  SHI_Attribute** child);
221 
223 #if defined(__cplusplus)
224 }
225 #endif
226 
227 #endif /* _SHI_ATTRIBUTES_H_ */