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 #if !defined (_SWIG_DOTNET_)
96  protected:
98 #endif
99 };
100 } // namespace file
101 } // namespace common
102 } // namespace foxit
103 
104 #endif
file writing interface.
Definition: fx_stream.h:449
IFX_FileStream StreamCallback
Definition: fs_file.h:54
file reading interface.
Definition: fx_stream.h:555
Header file for basic types definitions.
File stream interface, reading & writing.
Definition: fx_stream.h:650
IFX_FileWrite WriterCallback
Definition: fs_file.h:47
FX_INT64 int64
Signed 64-bit integer.
Definition: fs_basictypes.h:192
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_compare.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.