X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..220af862c14ef432584fae3ef096aa17a6cfaf2d:/include/wx/url.h?ds=sidebyside diff --git a/include/wx/url.h b/include/wx/url.h index dae1c6ec30..aa224f7f3b 100644 --- a/include/wx/url.h +++ b/include/wx/url.h @@ -36,12 +36,13 @@ class WXDLLEXPORT wxURL : public wxObject { DECLARE_DYNAMIC_CLASS(wxURL) protected: static wxProtoInfo *g_protocols; - static wxHTTP g_proxy; + static wxHTTP *g_proxy; wxProtoInfo *m_protoinfo; wxProtocol *m_protocol; wxHTTP m_proxy; wxURLError m_error; wxString m_protoname, m_hostname, m_servname, m_path, m_url; + wxString m_user, m_password; bool PrepProto(wxString& url); bool PrepHost(wxString& url); @@ -51,6 +52,7 @@ protected: bool FetchProtocol(); friend class wxProtoInfo; + friend class wxProtocolModule; public: wxURL(const wxString& url); @@ -60,6 +62,7 @@ public: { return m_protoinfo->m_protoname; } inline wxProtocol& GetProtocol() { return *m_protocol; } inline wxURLError GetError() const { return m_error; } + inline wxString GetPath() const { return m_path; } wxInputStream *GetInputStream();