Foxit PDF SDK
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_basictypes.h"
20 
26 namespace foxit {
30 namespace common {
34 namespace file {
41 
48 
55 
65  public:
77  virtual bool IsDataAvail(int64 offset, size_t size) = 0;
78 
93  virtual bool AddDownloadHint(int64 offset, size_t size) = 0;
94 
95  protected:
97 };
98 } // namespace file
99 } // namespace common
100 } // namespace foxit
101 
102 #endif
File writing interface.
Definition: fx_stream.h:451
IFX_FileStream StreamCallback
Definition: fs_file.h:54
File reading interface.
Definition: fx_stream.h:566
Header file for basic types definitions.
File stream interface, reading & writing.
Definition: fx_stream.h:669
IFX_FileWrite WriterCallback
Definition: fs_file.h:47
FX_INT64 int64
Signed 64-bit integer.
Definition: fs_basictypes.h:190
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_taggedpdf.h:27
IFX_FileRead ReaderCallback
Definition: fs_file.h:40
virtual bool IsDataAvail(int64 offset, size_t size)=0
A callback function used to check whether the specified data section is available or not.