Add wxGetFileType and IsSeekable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,6 +41,7 @@ public:
|
||||
wxFileOffset GetLength() const;
|
||||
|
||||
bool Ok() const { return m_file->IsOpened(); }
|
||||
bool IsSeekable() const { return m_file->GetFileType() == wxFILE_TYPE_DISK; }
|
||||
|
||||
protected:
|
||||
wxFileInputStream();
|
||||
@@ -69,6 +70,7 @@ public:
|
||||
wxFileOffset GetLength() const;
|
||||
|
||||
bool Ok() const { return m_file->IsOpened(); }
|
||||
bool IsSeekable() const { return m_file->GetFileType() == wxFILE_TYPE_DISK; }
|
||||
|
||||
protected:
|
||||
wxFileOutputStream();
|
||||
@@ -109,6 +111,7 @@ public:
|
||||
wxFileOffset GetLength() const;
|
||||
|
||||
bool Ok() const { return m_file->IsOpened(); }
|
||||
bool IsSeekable() const { return m_file->GetFileType() == wxFILE_TYPE_DISK; }
|
||||
|
||||
protected:
|
||||
wxFFileInputStream();
|
||||
@@ -137,6 +140,7 @@ public:
|
||||
wxFileOffset GetLength() const;
|
||||
|
||||
bool Ok() const { return m_file->IsOpened(); }
|
||||
bool IsSeekable() const { return m_file->GetFileType() == wxFILE_TYPE_DISK; }
|
||||
|
||||
protected:
|
||||
wxFFileOutputStream();
|
||||
|
Reference in New Issue
Block a user