OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ |
8 #define XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 typedef int32_t FWL_ERR; | 12 typedef int32_t FWL_ERR; |
13 | 13 |
14 #define FWL_ERR_Succeeded 0 | 14 #define FWL_ERR_Succeeded 0 |
15 #define FWL_ERR_Indefinite -1 | 15 #define FWL_ERR_Indefinite -1 |
16 #define FWL_ERR_Parameter_Invalid -100 | 16 #define FWL_ERR_Parameter_Invalid -100 |
17 #define FWL_ERR_Property_Invalid -200 | 17 #define FWL_ERR_Property_Invalid -200 |
18 #define FWL_ERR_Intermediate_Value__Invalid -300 | 18 #define FWL_ERR_Intermediate_Value__Invalid -300 |
19 #define FWL_ERR_Method_Not_Supported -400 | 19 #define FWL_ERR_Method_Not_Supported -400 |
20 #define FWL_ERR_Out_Of_Memory -500 | 20 #define FWL_ERR_Out_Of_Memory -500 |
21 | 21 |
22 #endif // XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ | 22 #endif // XFA_INCLUDE_FWL_CORE_FWL_ERROR_H_ |
OLD | NEW |