|
1 /** |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Class defines all the error codes related to Terminal Mode Service |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __TERMINALMODECONSTS_H__ |
|
19 #define __TERMINALMODECONSTS_H__ |
|
20 |
|
21 /** |
|
22 * Error codes for Terminal Mode extention |
|
23 * These error codes are located in the non-standard error code range |
|
24 * (800 899). |
|
25 */ |
|
26 enum TTerminalModeErrorCode |
|
27 { |
|
28 /** |
|
29 * Terminal Mode success error code. |
|
30 * Represents the no-error condition. |
|
31 */ |
|
32 ETerminalModeSuccess = 200, |
|
33 |
|
34 /** |
|
35 * Terminal Mode failure error code. |
|
36 * Represents the error condition. |
|
37 */ |
|
38 ETerminalModeFailure = 201, |
|
39 |
|
40 /** |
|
41 *Terminal Mode error range marker. |
|
42 */ |
|
43 ETerminalModeErrorRangeBegin = 700, |
|
44 |
|
45 /** |
|
46 * Operation Rejected. |
|
47 * Terminal Mode Server rejected the operation. |
|
48 */ |
|
49 ETerminalModeOperationRejected = 701, |
|
50 |
|
51 /** |
|
52 * Malformed or Non-existent AppID. |
|
53 * The AppID is of incorrect format or does not exist. |
|
54 */ |
|
55 ETerminalModeBadAppId = 810, |
|
56 |
|
57 /** |
|
58 * Unauthorized AppID. |
|
59 * The application identified by this AppID cannot be used remotely. |
|
60 */ |
|
61 ETerminalModeUnauthorizedApp = 811, |
|
62 |
|
63 /** |
|
64 * Cannot determine application status. |
|
65 * The status of the application cannot be cur-rently determined. |
|
66 * Client should try again later. |
|
67 */ |
|
68 ETerminalModeAppStatusError = 812, |
|
69 |
|
70 /** |
|
71 * Failed to launch application. |
|
72 * The application is available on the mobile device but failed |
|
73 * to launch. |
|
74 */ |
|
75 ETerminalModeAppLaunchError = 813, |
|
76 |
|
77 /** |
|
78 * The requested application resource is busy. |
|
79 * This error can occur when the resource is already busy and |
|
80 * resourceStatus in the AppListing is set equal to NA. |
|
81 */ |
|
82 ETerminalModeResourceBusy = 814, |
|
83 |
|
84 |
|
85 /** |
|
86 * Failed to process the action as the device hosting the TmApplicationServer |
|
87 * service is locked |
|
88 */ |
|
89 ETerminalModeDeviceLocked = 815, |
|
90 |
|
91 /** |
|
92 * Failed to process the action as the input argument passed is invalid |
|
93 */ |
|
94 ETerminalModeInvalidArgument = 820, |
|
95 |
|
96 /** |
|
97 * The clientProfile argument passed does not conform to A_ARG_TYPE_ClientProfile |
|
98 * XML specifications. |
|
99 */ |
|
100 ETerminalModeInvalidProfile = 825, |
|
101 |
|
102 /** |
|
103 * Failed to process the action as the the profile identifier does not exist |
|
104 * or the application cannot use the specified profile identifier. |
|
105 */ |
|
106 ETerminalModeInvalidProfileId = 830, |
|
107 |
|
108 /** |
|
109 * Invalid license.The HU does not have valid license or has not started license |
|
110 * verification process for the service. |
|
111 */ |
|
112 ETerminalModeInvalidLicense = 891, |
|
113 /** |
|
114 * Terminal Mode error range marker. |
|
115 */ |
|
116 ETerminalModeErrorRangeEnd = 899 |
|
117 }; |
|
118 |
|
119 #endif // __TERMINALMODECONSTS_H__ |