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;
bool FetchProtocol();
friend class wxProtoInfo;
+ friend class wxProtocolModule;
public:
wxURL(const wxString& url);
{ 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();
static void SetDefaultProxy(const wxString& url_proxy);
void SetProxy(const wxString& url_proxy);
+
+ static wxString ConvertToValidURI(const wxString& uri);
};
#endif