21#if EXIV2_TEST_VERSION(0,28,0)
22 using ptr_type = Exiv2::BasicIo::UniquePtr;
32#if EXIV2_TEST_VERSION(0,28,0)
33 size_t write(
const Exiv2::byte *data,
size_t wcount)
override;
34 size_t write(Exiv2::BasicIo &src)
override;
35 int putb(Exiv2::byte data)
override;
36 Exiv2::DataBuf read(
size_t rcount)
override;
37 size_t read(Exiv2::byte *buf,
size_t rcount)
override;
39 long write(
const Exiv2::byte *data,
long wcount)
override;
40 long write(Exiv2::BasicIo &src)
override;
41 int putb(Exiv2::byte data)
override;
42 Exiv2::DataBuf read(
long rcount)
override;
43 long read(Exiv2::byte *buf,
long rcount)
override;
46 void transfer(BasicIo &src)
override;
47#if defined(_MSC_VER) || EXIV2_TEST_VERSION(0,28,0)
48 int seek(int64_t offset, Position pos)
override;
50 int seek(
long offset, Position pos)
override;
53 Exiv2::byte *mmap(
bool isWriteable =
false)
override;
54#if EXIV2_TEST_VERSION(0,28,0)
55 void populateFakeData()
override;
57 int munmap()
override;
58#if EXIV2_TEST_VERSION(0,28,0)
59 size_t tell()
const override;
61 long tell()
const override;
63 size_t size()
const override;
64 bool isopen()
const override;
65 int error()
const override;
66 bool eof()
const override;
67#if EXIV2_TEST_VERSION(0,28,0)
68 const std::string& path() const noexcept override;
70 std::string path()
const override;
74 bool open(QFile::OpenMode mode);
75 bool renameToCurrent(
const QString srcPath);
76 QString filePathQString()
const;