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_SRC_FXCRT_FXCRT_PLATFORMS_H_ | 7 #ifndef CORE_SRC_FXCRT_FXCRT_PLATFORMS_H_ |
8 #define CORE_SRC_FXCRT_FXCRT_PLATFORMS_H_ | 8 #define CORE_SRC_FXCRT_FXCRT_PLATFORMS_H_ |
9 | 9 |
10 #include "extension.h" | 10 #include "core/src/fxcrt/extension.h" |
11 | 11 |
12 #if _FX_OS_ == _FX_ANDROID_ | 12 #if _FX_OS_ == _FX_ANDROID_ |
13 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_ByteString& bsMode); | 13 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_ByteString& bsMode); |
14 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_WideString& wsMode); | 14 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_WideString& wsMode); |
15 class CFXCRT_FileAccess_CRT : public IFXCRT_FileAccess { | 15 class CFXCRT_FileAccess_CRT : public IFXCRT_FileAccess { |
16 public: | 16 public: |
17 CFXCRT_FileAccess_CRT(); | 17 CFXCRT_FileAccess_CRT(); |
18 ~CFXCRT_FileAccess_CRT() override; | 18 ~CFXCRT_FileAccess_CRT() override; |
19 | 19 |
20 // IFXCRT_FileAccess | 20 // IFXCRT_FileAccess |
(...skipping 12 matching lines...) Expand all Loading... |
33 FX_FILESIZE pos) override; | 33 FX_FILESIZE pos) override; |
34 FX_BOOL Flush() override; | 34 FX_BOOL Flush() override; |
35 FX_BOOL Truncate(FX_FILESIZE szFile) override; | 35 FX_BOOL Truncate(FX_FILESIZE szFile) override; |
36 | 36 |
37 protected: | 37 protected: |
38 FXSYS_FILE* m_hFile; | 38 FXSYS_FILE* m_hFile; |
39 }; | 39 }; |
40 #endif | 40 #endif |
41 | 41 |
42 #endif // CORE_SRC_FXCRT_FXCRT_PLATFORMS_H_ | 42 #endif // CORE_SRC_FXCRT_FXCRT_PLATFORMS_H_ |
OLD | NEW |