X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..704ceca8d2cd8da51a5cc22f8c51fd61c762dbf5:/interface/wx/protocol/ftp.h diff --git a/interface/wx/protocol/ftp.h b/interface/wx/protocol/ftp.h index a78b3d1dfa..0455b287a9 100644 --- a/interface/wx/protocol/ftp.h +++ b/interface/wx/protocol/ftp.h @@ -97,13 +97,13 @@ public: /** Destructor will close the connection if connected. */ - ~wxFTP(); + virtual ~wxFTP(); /** Aborts the download currently in process, returns @true if ok, @false if an error occurred. */ - bool Abort(); + virtual bool Abort(); /** Change the current FTP working directory. @@ -192,7 +192,7 @@ public: @return Returns @NULL if an error occurred (it could be a network failure or the fact that the file doesn't exist). */ - wxInputStream* GetInputStream(const wxString& path); + virtual wxInputStream* GetInputStream(const wxString& path); /** Returns the last command result, i.e. the full server reply for the last command. @@ -209,7 +209,7 @@ public: @see wxOutputStream */ - wxOutputStream* GetOutputStream(const wxString& file); + virtual wxOutputStream* GetOutputStream(const wxString& file); /** Create the specified directory in the current FTP working directory. @@ -266,7 +266,7 @@ public: /** Sets the password to be sent to the FTP server to be allowed to log in. */ - void SetPassword(const wxString& passwd); + virtual void SetPassword(const wxString& passwd); /** Sets the transfer mode to the specified one. It will be used for the next @@ -279,6 +279,6 @@ public: /** Sets the user name to be sent to the FTP server to be allowed to log in. */ - void SetUser(const wxString& user); + virtual void SetUser(const wxString& user); };