| 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 CORE_INCLUDE_FXCRT_FX_BASIC_H_ | 7 #ifndef CORE_INCLUDE_FXCRT_FX_BASIC_H_ |
| 8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_ | 8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_ |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1155 } | 1155 } |
| 1156 | 1156 |
| 1157 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); } | 1157 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); } |
| 1158 | 1158 |
| 1159 protected: | 1159 protected: |
| 1160 T1 m_Data; | 1160 T1 m_Data; |
| 1161 }; | 1161 }; |
| 1162 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, | 1162 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, |
| 1163 FX_FILESIZE> CFX_FileSizeListArray; | 1163 FX_FILESIZE> CFX_FileSizeListArray; |
| 1164 | 1164 |
| 1165 typedef enum { | |
| 1166 Ready, | |
| 1167 ToBeContinued, | |
| 1168 Found, | |
| 1169 NotFound, | |
| 1170 Failed, | |
| 1171 Done | |
| 1172 } FX_ProgressiveStatus; | |
| 1173 #define ProgressiveStatus FX_ProgressiveStatus | |
| 1174 #ifdef PDF_ENABLE_XFA | 1165 #ifdef PDF_ENABLE_XFA |
| 1175 class IFX_Unknown { | 1166 class IFX_Unknown { |
| 1176 public: | 1167 public: |
| 1177 virtual ~IFX_Unknown() {} | 1168 virtual ~IFX_Unknown() {} |
| 1178 virtual FX_DWORD Release() = 0; | 1169 virtual FX_DWORD Release() = 0; |
| 1179 virtual FX_DWORD AddRef() = 0; | 1170 virtual FX_DWORD AddRef() = 0; |
| 1180 }; | 1171 }; |
| 1181 #define FX_IsOdd(a) ((a)&1) | 1172 #define FX_IsOdd(a) ((a)&1) |
| 1182 #endif // PDF_ENABLE_XFA | 1173 #endif // PDF_ENABLE_XFA |
| 1183 | 1174 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 FX_FLOAT c; | 1218 FX_FLOAT c; |
| 1228 FX_FLOAT d; | 1219 FX_FLOAT d; |
| 1229 FX_FLOAT e; | 1220 FX_FLOAT e; |
| 1230 FX_FLOAT f; | 1221 FX_FLOAT f; |
| 1231 FX_FLOAT g; | 1222 FX_FLOAT g; |
| 1232 FX_FLOAT h; | 1223 FX_FLOAT h; |
| 1233 FX_FLOAT i; | 1224 FX_FLOAT i; |
| 1234 }; | 1225 }; |
| 1235 | 1226 |
| 1236 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ | 1227 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ |
| OLD | NEW |