X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ea6639cdfa9f735ea3e3b4115f15f7afd6515eb..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/ffile.h diff --git a/interface/wx/ffile.h b/interface/wx/ffile.h index 869aed9a22..ada146d343 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 @@ -102,8 +76,11 @@ public: closing the file if this descriptor is opened. IsOpened() will return @false after call to Detach(). + + @return The FILE pointer (this is new since wxWidgets 3.0.0, in the + previous versions this method didn't return anything). */ - void Detach(); + FILE* Detach(); /** Returns @true if an attempt has been made to read @e past