wxFileInputStream(int fd);
~wxFileInputStream();
- size_t GetSize() const;
+ wxFileOffset GetLength() const;
bool Ok() const { return m_file->IsOpened(); }
// { return wxOutputStream::Write(buffer, size); }
void Sync();
- size_t GetSize() const;
+ bool Close() { return m_file_destroy ? m_file->Close() : true; }
+ wxFileOffset GetLength() const;
bool Ok() const { return m_file->IsOpened(); }
wxFFileInputStream(FILE *file);
~wxFFileInputStream();
- size_t GetSize() const;
+ wxFileOffset GetLength() const;
bool Ok() const { return m_file->IsOpened(); }
// { return wxOutputStream::Write(buffer, size); }
void Sync();
- size_t GetSize() const;
+ bool Close() { return m_file_destroy ? m_file->Close() : true; }
+ wxFileOffset GetLength() const;
bool Ok() const { return m_file->IsOpened(); }