| 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_WINDOWS_H_ | 7 #ifndef CORE_SRC_FXCRT_FXCRT_WINDOWS_H_ |
| 8 #define CORE_SRC_FXCRT_FXCRT_WINDOWS_H_ | 8 #define CORE_SRC_FXCRT_FXCRT_WINDOWS_H_ |
| 9 | 9 |
| 10 #include "extension.h" | 10 #include "core/src/fxcrt/extension.h" |
| 11 | 11 |
| 12 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 12 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
| 13 class CFXCRT_FileAccess_Win64 : public IFXCRT_FileAccess { | 13 class CFXCRT_FileAccess_Win64 : public IFXCRT_FileAccess { |
| 14 public: | 14 public: |
| 15 CFXCRT_FileAccess_Win64(); | 15 CFXCRT_FileAccess_Win64(); |
| 16 ~CFXCRT_FileAccess_Win64() override; | 16 ~CFXCRT_FileAccess_Win64() override; |
| 17 | 17 |
| 18 // IFXCRT_FileAccess | 18 // IFXCRT_FileAccess |
| 19 FX_BOOL Open(const CFX_ByteStringC& fileName, FX_DWORD dwMode) override; | 19 FX_BOOL Open(const CFX_ByteStringC& fileName, FX_DWORD dwMode) override; |
| 20 FX_BOOL Open(const CFX_WideStringC& fileName, FX_DWORD dwMode) override; | 20 FX_BOOL Open(const CFX_WideStringC& fileName, FX_DWORD dwMode) override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 FX_FILESIZE pos) override; | 31 FX_FILESIZE pos) override; |
| 32 FX_BOOL Flush() override; | 32 FX_BOOL Flush() override; |
| 33 FX_BOOL Truncate(FX_FILESIZE szFile) override; | 33 FX_BOOL Truncate(FX_FILESIZE szFile) override; |
| 34 | 34 |
| 35 protected: | 35 protected: |
| 36 void* m_hFile; | 36 void* m_hFile; |
| 37 }; | 37 }; |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 #endif // CORE_SRC_FXCRT_FXCRT_WINDOWS_H_ | 40 #endif // CORE_SRC_FXCRT_FXCRT_WINDOWS_H_ |
| OLD | NEW |