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 "fx_memory.h" | 10 #include "fx_memory.h" |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 return (T2&)(*(volatile T2*)data); | 1075 return (T2&)(*(volatile T2*)data); |
1076 } | 1076 } |
1077 | 1077 |
1078 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); } | 1078 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); } |
1079 | 1079 |
1080 protected: | 1080 protected: |
1081 T1 m_Data; | 1081 T1 m_Data; |
1082 }; | 1082 }; |
1083 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, | 1083 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, |
1084 FX_FILESIZE> CFX_FileSizeListArray; | 1084 FX_FILESIZE> CFX_FileSizeListArray; |
1085 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_DWORD)>, FX_DWORD> | 1085 |
1086 CFX_DWordListArray; | |
1087 typedef enum { | 1086 typedef enum { |
1088 Ready, | 1087 Ready, |
1089 ToBeContinued, | 1088 ToBeContinued, |
1090 Found, | 1089 Found, |
1091 NotFound, | 1090 NotFound, |
1092 Failed, | 1091 Failed, |
1093 Done | 1092 Done |
1094 } FX_ProgressiveStatus; | 1093 } FX_ProgressiveStatus; |
1095 #define ProgressiveStatus FX_ProgressiveStatus | 1094 #define ProgressiveStatus FX_ProgressiveStatus |
1096 | 1095 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 FX_FLOAT c; | 1139 FX_FLOAT c; |
1141 FX_FLOAT d; | 1140 FX_FLOAT d; |
1142 FX_FLOAT e; | 1141 FX_FLOAT e; |
1143 FX_FLOAT f; | 1142 FX_FLOAT f; |
1144 FX_FLOAT g; | 1143 FX_FLOAT g; |
1145 FX_FLOAT h; | 1144 FX_FLOAT h; |
1146 FX_FLOAT i; | 1145 FX_FLOAT i; |
1147 }; | 1146 }; |
1148 | 1147 |
1149 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ | 1148 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ |
OLD | NEW |