Wasabi ExpressPlay SDK for iOS
1.10
Main Page
Modules
Data Structures
Files
File List
Globals
Client
Source
Interface
Core
WsbResultHelper.h
Go to the documentation of this file.
1
/*****************************************************************
2
|
3
| Wasabi - Result Helper
4
|
5
| $Id: WsbResultHelper.h 10793 2014-06-25 12:46:08Z jebaseelir $
6
| Original author: Adam Miller
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) 2008-2014 by Intertrust. All rights reserved.
14
|
15
****************************************************************/
21
#ifndef _WSB_RESULT_HELPER_H_
22
#define _WSB_RESULT_HELPER_H_
23
24
/*----------------------------------------------------------------------
25
| includes
26
+---------------------------------------------------------------------*/
27
#include "
WsbTypes.h
"
28
29
#if defined(__cplusplus)
30
extern
"C"
{
31
#endif
32
33
/*----------------------------------------------------------------------
34
| types
35
+---------------------------------------------------------------------*/
36
41
typedef
enum
{
42
WSB_RECOMMEND_TRY_AGAIN
= 0,
43
WSB_RECOMMEND_REINSTALL
,
44
WSB_RECOMMEND_CHECK_NETWORK
,
45
WSB_RECOMMEND_CONTACT_SUPPORT
,
46
WSB_RECOMMEND_REFRESH_CONTENT
,
47
WSB_RECOMMEND_FIX_DRM
,
48
WSB_RECOMMEND_GOTO_BROWSER
,
49
WSB_RECOMMEND_REBOOT
50
}
WSB_ResultRecommendation
;
51
60
typedef
struct
{
61
WSB_Boolean
understood
;
64
const
char
*
text
;
65
const
char
*
recommendation_text
;
66
WSB_ResultRecommendation
recommendation
;
67
}
WSB_ResultExplanation
;
68
69
/*----------------------------------------------------------------------
70
| functions
71
+---------------------------------------------------------------------*/
72
97
WSB_EXPORT
WSB_ResultExplanation
98
WSB_ExplainResult
(
WSB_Result
result,
const
char
** languages,
WSB_UInt32
language_count);
99
102
#if defined(__cplusplus)
103
}
104
#endif
105
106
#endif
/* _WSB_RESULT_HELPER_H_ */