Wasabi ExpressPlay SDK for Desktop Systems  1.23.0
ShiTransaction.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Sushi - Transaction
4 |
5 | $Id: ShiTransaction.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_TRANSACTION_H_
22 #define _SHI_TRANSACTION_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "ShiResults.h"
28 #include "ShiTypes.h"
29 #include "ShiList.h"
30 #include "ShiEngine.h"
31 
32 /*----------------------------------------------------------------------
33 | types
34 +---------------------------------------------------------------------*/
39 typedef enum {
53 
58 typedef enum {
64 
72 typedef struct {
77 
81 typedef struct {
86 
92 typedef struct {
94  const char* message;
95  const char* service_exception;
97 
101 typedef struct {
105 
106 #endif /* _SHI_TRANSACTION_H_ */
Event data for SHI_ENGINE_EVENT_TRANSACTION_PROGRESS events.
Definition: ShiTransaction.h:81
Definition: ShiTransaction.h:61
Result codes.
Definition: ShiTransaction.h:50
Definition: ShiTransaction.h:60
SHI_TransactionType transaction_type
Transaction type.
Definition: ShiTransaction.h:74
SHI_UInt32 SHI_Ordinal
An unsigned integer that represents a position in a sequence (such as an index into a list of element...
Definition: ShiTypes.h:118
Information about an event received by a SHI_EngineListener.
Definition: ShiEngine.h:135
Definition: ShiTransaction.h:42
DRM Engine.
Definition: ShiTransaction.h:41
const char * service_exception
XML fragment representing a ServiceException (may be NULL)
Definition: ShiTransaction.h:95
Definition: ShiTransaction.h:49
SHI_TransactionEvent base
Base class.
Definition: ShiTransaction.h:82
Definition: ShiTransaction.h:43
SHI_TransactionEvent base
Base class.
Definition: ShiTransaction.h:102
Definition: ShiTransaction.h:51
SHI_UInt32 SHI_Cardinal
An unsigned integer used to represent a quantity that can be counted (such as a number of elements in...
Definition: ShiTypes.h:112
SHI_TransactionState
Identifier used to indicate the state of a transaction in a SHI_TransactionEvent event.
Definition: ShiTransaction.h:58
Result of a transaction.
Definition: ShiTransaction.h:92
SHI_TransactionResult result
Transaction result.
Definition: ShiTransaction.h:103
Event data for all events related to transactions.
Definition: ShiTransaction.h:72
SHI_Cardinal total_steps
Total number of steps.
Definition: ShiTransaction.h:84
Definition: ShiTransaction.h:44
SHI_TransactionType
Type identifiers used to specify the type of a transaction in a SHI_TransactionEvent event...
Definition: ShiTransaction.h:39
Definition: ShiTransaction.h:47
Definition: ShiTransaction.h:45
SHI_EngineEvent base
Base class.
Definition: ShiTransaction.h:73
SHI_Result code
Result code.
Definition: ShiTransaction.h:93
SHI_Ordinal current_step
Current step number.
Definition: ShiTransaction.h:83
Generic Lists.
Common data types.
Definition: ShiTransaction.h:59
Definition: ShiTransaction.h:48
const char * message
Result message (may be NULL)
Definition: ShiTransaction.h:94
int SHI_Result
Signed integer value representing a function or method result (return value).
Definition: ShiTypes.h:74
Definition: ShiTransaction.h:62
Definition: ShiTransaction.h:40
Event data for SHI_ENGINE_EVENT_TRANSACTION_END events.
Definition: ShiTransaction.h:101
SHI_TransactionState transaction_state
Transaction state.
Definition: ShiTransaction.h:75