X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6477b92b7d51a6ec7a26cf7bae1e8c7637995e4..147964ca884f59254731d8eff737a219c7a136b1:/tests/archive/archivetest.h diff --git a/tests/archive/archivetest.h b/tests/archive/archivetest.h index 3799e3cd59..eef3d45fe1 100644 --- a/tests/archive/archivetest.h +++ b/tests/archive/archivetest.h @@ -38,6 +38,7 @@ public: int GetOptions() const { return m_options; } wxFileOffset GetLength() const { return m_size; } + bool IsSeekable() const { return (m_options & PipeOut) == 0; } // gives away the data, this stream is then empty, and can be reused void GetData(char*& data, size_t& size); @@ -67,6 +68,7 @@ public: void Rewind(); wxFileOffset GetLength() const { return m_size; } + bool IsSeekable() const { return (m_options & PipeIn) == 0; } void SetData(TestOutputStream& out); private: