X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8a586e08eef0a5d09612f26f0e0c687cfac9963..360ae33f4392ebb8b625b8ef3b2542b58f8a3a6b:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index fde5099582..3382610c57 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -125,6 +125,8 @@ public: bool Eof() const; // has an error occured? bool Error() const { return m_error; } + // type such as disk or pipe + wxFileKind GetKind() const { return wxGetFileKind(m_fd); } // dtor closes the file if opened ~wxFile() { Close(); }