X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..c980c992630e94e71139660631a77ffbca8ed958:/include/wx/protocol/protocol.h diff --git a/include/wx/protocol/protocol.h b/include/wx/protocol/protocol.h index 608c8f1f06..ad3cf86f83 100644 --- a/include/wx/protocol/protocol.h +++ b/include/wx/protocol/protocol.h @@ -15,6 +15,10 @@ #pragma interface #endif +#include "wx/defs.h" + +#if wxUSE_SOCKETS + #include "wx/object.h" #include "wx/string.h" #include "wx/stream.h" @@ -30,7 +34,7 @@ typedef enum { wxPROTO_NOFILE, wxPROTO_ABRT, wxPROTO_RCNCT, - wxPROTO_STREAMING + wxPROTO_STREAMING } wxProtocolError; // For protocols @@ -53,7 +57,7 @@ protected: 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); }; @@ -76,4 +80,6 @@ public: wxProtocolError WXDLLEXPORT GetLine(wxSocketBase *sock, wxString& result); -#endif +#endif // wxUSE_SOCKETS + +#endif // _WX_PROTOCOL_PROTOCOL_H