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 _FX_STREAM | 7 #ifndef _FX_STREAM |
8 #define _FX_STREAM | 8 #define _FX_STREAM |
9 class IFX_Stream; | 9 class IFX_Stream; |
10 IFX_FileRead* FX_CreateFileRead(IFX_Stream* pBaseStream, | 10 IFX_FileRead* FX_CreateFileRead(IFX_Stream* pBaseStream, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual int32_t GetBOM(uint8_t bom[4]) const = 0; | 63 virtual int32_t GetBOM(uint8_t bom[4]) const = 0; |
64 virtual FX_WORD GetCodePage() const = 0; | 64 virtual FX_WORD GetCodePage() const = 0; |
65 virtual FX_WORD SetCodePage(FX_WORD wCodePage) = 0; | 65 virtual FX_WORD SetCodePage(FX_WORD wCodePage) = 0; |
66 virtual void Lock() = 0; | 66 virtual void Lock() = 0; |
67 virtual void Unlock() = 0; | 67 virtual void Unlock() = 0; |
68 virtual IFX_Stream* CreateSharedStream(FX_DWORD dwAccess, | 68 virtual IFX_Stream* CreateSharedStream(FX_DWORD dwAccess, |
69 int32_t iOffset, | 69 int32_t iOffset, |
70 int32_t iLength) = 0; | 70 int32_t iLength) = 0; |
71 }; | 71 }; |
72 #endif | 72 #endif |
OLD | NEW |