X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70a7bd90f9bdafd5ffbc89fd0b79b9e900d7dd22..7f8c0d74d7025b6c677fbd88890ea10d302ef3d5:/include/wx/ffile.h diff --git a/include/wx/ffile.h b/include/wx/ffile.h index 0236e154bf..f61a97fd29 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -96,6 +96,8 @@ public: bool Error() const { return ferror(m_fp) != 0; } // get the file name const wxString& GetName() const { return m_name; } + // type such as disk or pipe + wxFileKind GetKind() const { return wxGetFileKind(m_fp); } // dtor closes the file if opened ~wxFFile() { Close(); }