fs_file.h
Go to the documentation of this file.
1 
16 #ifndef FS_COMMON_FILE_FILE_H_
17 #define FS_COMMON_FILE_FILE_H_
18 
19 #include "common/fs_common.h"
25 namespace foxit {
29 namespace common {
33 namespace file {
40 
47 
54 
64  public:
76  virtual bool IsDataAvail(int64 offset, size_t size) = 0;
77 
92  virtual bool AddDownloadHint(int64 offset, size_t size) = 0;
93 
94 #if !defined (_SWIG_DOTNET_)
95  protected:
97 #endif
98 };
99 } // namespace file
100 } // namespace common
101 } // namespace foxit
102 
103 #endif
file writing interface.
Definition: fx_stream.h:449
IFX_FileStream StreamCallback
Definition: fs_file.h:53
file reading interface.
Definition: fx_stream.h:555
File stream interface, reading & writing.
Definition: fx_stream.h:650
IFX_FileWrite WriterCallback
Definition: fs_file.h:46
FX_INT64 int64
Signed 64-bit integer.
Definition: fs_basictypes.h:192
Header file for common definitions and classes.
virtual bool AddDownloadHint(int64 offset, size_t size)=0
A callback function used to add offset and size to specify a data section, which should be downloaded...
Foxit namespace.
Definition: fs_connectedpdf.h:26
IFX_FileRead ReaderCallback
Definition: fs_file.h:39
virtual bool IsDataAvail(int64 offset, size_t size)=0
A callback function used to check whether the specified data section is available or not...

Foxit Software Corporation Logo
@2019 Foxit Software Incorporated. All rights reserved.