- static void SetDefaultProxy(const wxString& url_proxy);
- void SetProxy(const wxString& url_proxy);
-#endif
+ static wxHTTP *ms_proxyDefault;
+ static bool ms_useDefaultProxy;
+ wxHTTP *m_proxy;
+#endif // wxUSE_SOCKETS
+
+ wxProtoInfo *m_protoinfo;
+ wxProtocol *m_protocol;
+
+ wxURLError m_error;
+ wxString m_protoname, m_hostname, m_servname, m_path, m_url;
+ wxString m_user, m_password;
+ bool m_useProxy;
+
+ bool PrepProto(wxString& url);
+ bool PrepHost(wxString& url);
+ bool PrepPath(wxString& url);
+ bool ParseURL();
+ void CleanData();
+ bool FetchProtocol();
+
+ friend class wxProtoInfo;
+ friend class wxURLModule;
+
+private:
+ // VZ: can't use default copy ctor for this class, should write a correct
+ // one! (TODO)
+ DECLARE_NO_COPY_CLASS(wxURL);