X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/ffile.h diff --git a/interface/wx/ffile.h b/interface/wx/ffile.h index 097bf94e3a..5671e2e531 100644 --- a/interface/wx/ffile.h +++ b/interface/wx/ffile.h @@ -2,36 +2,10 @@ // Name: ffile.h // Purpose: interface of wxFFile // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -/** - Values used for both wxFile and wxFFile. - - @todo make the value names uppercase -*/ -enum wxSeekMode -{ - wxFromStart, - wxFromCurrent, - wxFromEnd -}; - -/** - See wxFFile::GetKind(). -*/ -enum wxFileKind -{ - wxFILE_KIND_UNKNOWN, - wxFILE_KIND_DISK, /**< A file supporting seeking to arbitrary offsets. */ - wxFILE_KIND_TERMINAL, /**< A terminal. */ - wxFILE_KIND_PIPE /**< A pipe. */ -}; - - /** @class wxFFile @@ -146,6 +120,15 @@ public: */ wxFileKind GetKind() const; + /** + Returns the file name. + + This is the name that was specified when the object was constructed or + to the last call to Open(). Notice that it may be empty if Attach() was + called without specifying the name. + */ + const wxString& GetName() const; + /** Returns @true if the file is opened.