#ifndef __WX_FTP_H__
#define __WX_FTP_H__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "ftp.h"
#endif
#include "wx/protocol/protocol.h"
#include "wx/url.h"
-class WXDLLEXPORT_BASE wxFTP : public wxProtocol
+class WXDLLIMPEXP_NET wxFTP : public wxProtocol
{
public:
enum TransferMode
const wxString& wildcard = wxEmptyString,
bool details = FALSE);
-#if WXWIN_COMPATIBILITY_2
- // deprecated
- wxList *GetList(const wxString& wildcard, bool details = FALSE);
-#endif // WXWIN_COMPATIBILITY_2
-
protected:
// this executes a simple ftp command with the given argument and returns
// TRUE if it its return code starts with '2'
friend class wxInputFTPStream;
friend class wxOutputFTPStream;
- DECLARE_DYNAMIC_CLASS(wxFTP)
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxFTP)
DECLARE_PROTOCOL(wxFTP)
};