]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/file.h
Add wxGetFileType and IsSeekable
[wxWidgets.git] / include / wx / file.h
index fde5099582ef8f7c22e99ced8befd40cf8129216..1656c175ade4b4f93e8dce3c8c9bf518f9d5467e 100644 (file)
@@ -125,6 +125,8 @@ public:
   bool Eof() const;
     // has an error occured?
   bool Error() const { return m_error; }
+    // type such as disk or pipe
+  wxFileTypeEnum GetFileType() const { return wxGetFileType(m_fd); }
 
   // dtor closes the file if opened
   ~wxFile() { Close(); }