friend class wxURL;
public:
- wxProtoInfo(const char *name, const char *serv_name, const bool need_host1,
+ wxProtoInfo(const wxChar *name, const wxChar *serv_name, const bool need_host1,
wxClassInfo *info);
};
wxProtocol();
bool Reconnect();
- virtual bool Connect( const wxString& WXUNUSED(host) ) { return FALSE; }
- virtual bool Connect( wxSockAddress& addr) { return wxSocketClient::Connect(addr); }
+ virtual bool Connect( const wxString& WXUNUSED(host) ) { return FALSE; }
+ virtual bool Connect( wxSockAddress& addr, bool WXUNUSED(wait) = TRUE) { return wxSocketClient::Connect(addr); }
virtual bool Abort() = 0;
virtual wxInputStream *GetInputStream(const wxString& path) = 0;
virtual wxProtocolError GetError() = 0;
- virtual wxString GetContentType() { return (char *)NULL; }
+ virtual wxString GetContentType() { return wxEmptyString; }
virtual void SetUser(const wxString& WXUNUSED(user)) {}
virtual void SetPassword(const wxString& WXUNUSED(passwd) ) {}
};