X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9655ec028f79daba0402d0880658a7e1e59c999d..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/protocol/ftp.h?ds=inline diff --git a/interface/wx/protocol/ftp.h b/interface/wx/protocol/ftp.h index b03ce1a163..b6a7992ffc 100644 --- a/interface/wx/protocol/ftp.h +++ b/interface/wx/protocol/ftp.h @@ -3,19 +3,9 @@ // Purpose: interface of wxFTP // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -/** - Transfer modes used by wxFTP. -*/ -enum TransferMode -{ - NONE, //!< not set by user explicitly. - ASCII, - BINARY -}; - /** @class wxFTP @@ -54,7 +44,7 @@ enum TransferMode wxLogError("Couldn't get the file size for \"%s\"", filename); } - wxInputStream *i = ftp.GetInputStream(filename); + wxInputStream *in = ftp.GetInputStream(filename); if ( !in ) { wxLogError("Couldn't get the file"); @@ -100,6 +90,16 @@ enum TransferMode class wxFTP : public wxProtocol { public: + /** + Transfer modes used by wxFTP. + */ + enum TransferMode + { + NONE, //!< not set by user explicitly. + ASCII, + BINARY + }; + /** Default constructor. */