Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <fake_file_access.h>
Public Member Functions | |
FakeFileAccess (FPDF_FILEACCESS *file_access) | |
~FakeFileAccess () | |
FPDF_FILEACCESS * | GetFileAccess () const |
FX_FILEAVAIL * | GetFileAvail () const |
FX_DOWNLOADHINTS * | GetDownloadHints () const |
FPDF_BOOL | IsDataAvail (size_t offset, size_t size) const |
void | AddSegment (size_t offset, size_t size) |
unsigned long | GetFileSize () |
int | GetBlock (unsigned long position, unsigned char *pBuf, unsigned long size) |
void | SetRequestedDataAvailable () |
void | SetWholeFileAvailable () |
Definition at line 19 of file fake_file_access.h.
|
explicit |
Definition at line 70 of file fake_file_access.cpp.
References FakeFileAccess().
Referenced by FakeFileAccess().
|
default |
void FakeFileAccess::AddSegment | ( | size_t | offset, |
size_t | size ) |
Definition at line 96 of file fake_file_access.cpp.
int FakeFileAccess::GetBlock | ( | unsigned long | position, |
unsigned char * | pBuf, | ||
unsigned long | size ) |
Definition at line 104 of file fake_file_access.cpp.
FX_DOWNLOADHINTS * FakeFileAccess::GetDownloadHints | ( | ) | const |
Definition at line 88 of file fake_file_access.cpp.
Referenced by EmbedderTest::OpenDocumentHelper(), and TEST_F().
FPDF_FILEACCESS * FakeFileAccess::GetFileAccess | ( | ) | const |
Definition at line 80 of file fake_file_access.cpp.
Referenced by EmbedderTest::OpenDocumentHelper(), TEST_F(), and TEST_F().
FX_FILEAVAIL * FakeFileAccess::GetFileAvail | ( | ) | const |
Definition at line 84 of file fake_file_access.cpp.
Referenced by EmbedderTest::OpenDocumentHelper(), TEST_F(), and TEST_F().
unsigned long FakeFileAccess::GetFileSize | ( | ) |
Definition at line 100 of file fake_file_access.cpp.
FPDF_BOOL FakeFileAccess::IsDataAvail | ( | size_t | offset, |
size_t | size ) const |
Definition at line 92 of file fake_file_access.cpp.
void FakeFileAccess::SetRequestedDataAvailable | ( | ) |
Definition at line 116 of file fake_file_access.cpp.
Referenced by EmbedderTest::OpenDocumentHelper(), and TEST_F().
void FakeFileAccess::SetWholeFileAvailable | ( | ) |
Definition at line 121 of file fake_file_access.cpp.
Referenced by EmbedderTest::OpenDocumentHelper(), TEST_F(), and TEST_F().