Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
ShiLicenseInfo.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Sushi - License Info
4 |
5 | $Id: ShiLicenseInfo.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_LICENSE_INFO_H_
22 #define _SHI_LICENSE_INFO_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "ShiResults.h"
28 #include "ShiTypes.h"
29 #include "ShiAttributes.h"
30 
31 /*----------------------------------------------------------------------
32 | types
33 +---------------------------------------------------------------------*/
37 typedef enum {
42 
43 /*----------------------------------------------------------------------
44 | interfaces
45 +---------------------------------------------------------------------*/
46 #if defined(__cplusplus)
47 extern "C" {
48 #endif
49 
60 
72 void*
74 
86 
107  SHI_Attribute** description);
108 
124  SHI_Attribute** details);
125 
127 #if defined(__cplusplus)
128 }
129 #endif
130 
131 #endif /* _SHI_LICENSE_INFO_H_ */
#define SHI_PUBLIC_API
Definition: ShiTypes.h:52
Definition: ShiLicenseInfo.h:38
Result codes.
SHI_PUBLIC_API SHI_Result SHI_LicenseInfo_GetDescription(SHI_LicenseInfo *self, SHI_LicenseDescriptionStyle style, SHI_Attribute **description)
Returns a textual description of this license info.
struct SHI_Attribute SHI_Attribute
SHI_Attribute objects represent named values that can be arranged in a tree structure.
Definition: ShiAttributes.h:110
Definition: ShiLicenseInfo.h:39
SHI_PUBLIC_API SHI_Result SHI_LicenseInfo_Release(SHI_LicenseInfo *self)
Releases this license description object.
Definition: ShiLicenseInfo.h:40
struct SHI_LicenseInfo SHI_LicenseInfo
A SHI_LicenseInfo object represents the information for a license or for an action of a license (such...
Definition: ShiLicenseInfo.h:59
SHI_UInt32 SHI_InterfaceId
Definition: ShiInterfaces.h:33
SHI_PUBLIC_API SHI_Result SHI_LicenseInfo_GetDetails(SHI_LicenseInfo *self, SHI_Attribute **details)
Gets the details of this license info.
Common data types.
SHI_PUBLIC_API void * SHI_LicenseInfo_GetInterface(SHI_LicenseInfo *self, SHI_InterfaceId iface_id)
Obtains a pointer to a SHI_LicenseInfo object with a different interface.
Attributes.
int SHI_Result
Signed integer value representing a function or method result (return value).
Definition: ShiTypes.h:74
SHI_LicenseDescriptionStyle
Identifiers for license description styles.
Definition: ShiLicenseInfo.h:37