Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FCMErrors.h
Go to the documentation of this file.
1 /*************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2013] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 **************************************************************************/
18 
25 #ifndef FCM_ERRORS_H_
26 #define FCM_ERRORS_H_
27 
28 #include "FCMPreConfig.h"
29 
30 
31 /* -------------------------------------------------- Forward Decl */
32 
33 
34 /* -------------------------------------------------- Enums */
35 
36 
37 /* -------------------------------------------------- Macros / Constants */
38 
44 #define FCM_SUCCESS_CODE(x) ((x)==FCM_SUCCESS)
45 
46 
52 #define FCM_FAILURE_CODE(x) ((x)!=FCM_SUCCESS)
53 
54 
60 #define FCM_GENERAL_ERROR_BASE 0x00000000L
61 
62 
68 #define FCM_SUCCESS (FCM_GENERAL_ERROR_BASE+0x00000000L)
69 
70 
76 #define FCM_GENERAL_ERROR (FCM_GENERAL_ERROR_BASE+0x00000001L)
77 
78 
85 #define FCM_CLS_NOT_DEFINED (FCM_GENERAL_ERROR_BASE+0x00000002L)
86 
87 
93 #define FCM_MEM_NOT_AVAILABLE (FCM_GENERAL_ERROR_BASE+0x00000003L)
94 
95 
101 #define FCM_NO_INTERFACE (FCM_GENERAL_ERROR_BASE+0x00000004L)
102 
103 
109 #define FCM_NO_CLASSFACTORY (FCM_GENERAL_ERROR_BASE+0x00000005L)
110 
111 
118 #define FCM_PLUGIN_LOAD_FAILED (FCM_GENERAL_ERROR_BASE+0x00000006L)
119 
120 
126 #define FCM_REG_CLS_NOT_DEFINED (FCM_GENERAL_ERROR_BASE+0x00000007L)
127 
128 
134 #define FCM_PLUGIN_FILE_NOT_FOUND (FCM_GENERAL_ERROR_BASE+0x00000008L)
135 
136 
142 #define FCM_SERVICE_ALREADY_EXISTS (FCM_GENERAL_ERROR_BASE+0x00000009L)
143 
144 
150 #define FCM_SERVICE_NOT_FOUND (FCM_GENERAL_ERROR_BASE+0x0000000AL)
151 
152 
158 #define FCM_NO_AGGREGATION (FCM_GENERAL_ERROR_BASE+0x0000000BL)
159 
160 
166 #define FCM_INVALID_PARAM (FCM_GENERAL_ERROR_BASE+0x0000000CL)
167 
168 
174 #define FCM_NEED_INITIALIZE (FCM_GENERAL_ERROR_BASE+0x0000000DL)
175 
176 
182 #define FCM_METHOD_NOT_IMPLEMENTED (FCM_GENERAL_ERROR_BASE+0x0000000EL)
183 
184 
190 #define FCM_INVALID_STRUCT_SIZE (FCM_GENERAL_ERROR_BASE+0x0000000FL)
191 
192 
198 #define FCM_OPERATION_CANCELLED (FCM_GENERAL_ERROR_BASE+0x00000010L)
199 
200 
206 #define FCM_DICT_ERROR_BASE 0x00002000L
207 
208 
214 #define FCM_DICT_ERR_NOTFOUND (FCM_DICT_ERROR_BASE+0x00000001L)
215 
216 
222 #define FCM_DICT_ERR_WRONGTYPE (FCM_DICT_ERROR_BASE+0x00000002L)
223 
224 
231 #define FCM_DICT_ERR_CANTWRITE (FCM_DICT_ERROR_BASE+0x00000003L)
232 
233 
239 #define FCM_DICT_ERR_BUFFERTOOSMALL (FCM_DICT_ERROR_BASE+0x00000004L)
240 
241 
247 #define FCM_DICT_ERR_EXISING_KEY_FOUND (FCM_DICT_ERROR_BASE+0x00000005L)
248 
249 
255 #define FCM_DICT_ERR_INVALID_KEY_TYPE (FCM_DICT_ERROR_BASE+0x00000006L)
256 
257 
263 #define FCM_DICT_ERR_KEY_NOT_FOUND (FCM_DICT_ERROR_BASE+0x00000007L)
264 
265 
271 #define FCM_REG_DICT_ERR_NOTFOUND (FCM_DICT_ERROR_BASE+0x00000008L)
272 
273 
279 #define FCM_NOTIFY_ERR_BASE 0x00004000L
280 
281 
287 #define FCM_NOTIFY_ERR_NOTIFCLIENT_NOT_FOUND (FCM_NOTIFY_ERR_BASE+0x00000001L)
288 
289 
295 #define FCM_NOTIFY_ERR_CLIENT_ALREADY_REG (FCM_NOTIFY_ERR_BASE+0x00000002L)
296 
297 
303 #define FCM_NOTIFY_ERR_INVALID_CLIENT (FCM_NOTIFY_ERR_BASE+0x00000003L)
304 
305 
311 #define FCM_DOM_ERR_BASE 0x00008000L
312 
313 
319 #define FCM_DOM_ERR_DOC_OPEN_FAILED (FCM_DOM_ERR_BASE+0x00000001L)
320 
321 
327 #define FCM_DOM_ERR_DOC_CLOSE_FAILED (FCM_DOM_ERR_BASE+0x00000002L)
328 
329 
335 #define FCM_DOM_ERR_LAYER_HAS_NO_PARENT (FCM_DOM_ERR_BASE+0x00000003L)
336 
337 
343 #define FCM_DOM_ERR_LAYER_HAS_NO_FRAMES (FCM_DOM_ERR_BASE+0x00000004L)
344 
345 
351 #define FCM_DOM_ERR_LAYER_INVALID_FRAMEINDEX (FCM_DOM_ERR_BASE+0x00000005L)
352 
353 
359 #define FCM_DOM_ERR_FRAME_NO_FRAMESCRIPT (FCM_DOM_ERR_BASE+0x00000006L)
360 
361 
367 #define FCM_DOM_ERR_INTERNAL (FCM_DOM_ERR_BASE+0x00000007L)
368 
369 
375 #define FCM_DOM_ERR_INVALID_OBJECT (FCM_DOM_ERR_BASE+0x00000008L)
376 
377 
383 #define FCM_IO_STREAM_ERR_BASE 0x0000C000L
384 
385 
391 #define FCM_IO_STREAM_ERR_STREAM_NOT_OPEN (FCM_IO_STREAM_ERR_BASE+0x00000001L)
392 
393 
399 #define FCM_IO_STREAM_ERR_STREAM_ALREADY_OPEN (FCM_IO_STREAM_ERR_BASE+0x00000002L)
400 
401 
407 #define FCM_IO_STREAM_ERR_READ_PAST_END (FCM_IO_STREAM_ERR_BASE+0x00000003L)
408 
409 
415 #define FCM_IO_STREAM_ERR_BAD_ACCESS_MODE (FCM_IO_STREAM_ERR_BASE+0x00000004L)
416 
417 
423 #define FCM_IO_STREAM_ERR_WROTE_PAST_END (FCM_IO_STREAM_ERR_BASE+0x00000005L)
424 
425 
431 #define FCM_EXPORT_ERR_BASE 0x0000D000L
432 
433 
439 #define FCM_EXPORT_FAILED (FCM_EXPORT_ERR_BASE+0x00000001L)
440 
441 
447 #define FCM_APPLICATION_ERR_BASE 0x0000E000L
448 
449 
457 #define FCM_FLASH_APPLICATION_ERR_BASE FCM_APPLICATION_ERR_BASE
458 
459 
465 #define FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE (FCM_APPLICATION_ERR_BASE + 0x00000001L)
466 
467 
475 #define FCM_FLASH_APPLICATION_ERR_NO_OUTPUT_CONSOLE FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE
476 
477 
478 /* -------------------------------------------------- Structs / Unions */
479 
480 
481 /* -------------------------------------------------- Class Decl */
482 
483 
484 /* -------------------------------------------------- Inline / Functions */
485 
486 
487 #include "FCMPostConfig.h"
488 
489 #endif //FCM_ERRORS_H_