Add some comments describing wxWebSession methods
No real changes.
This commit is contained in:
parent
71d5729171
commit
be5f1344b6
1 changed files with 10 additions and 6 deletions
|
|
@ -204,6 +204,16 @@ extern WXDLLIMPEXP_DATA_NET(const char) wxWebSessionBackendCURL[];
|
|||
class WXDLLIMPEXP_NET wxWebSession
|
||||
{
|
||||
public:
|
||||
// Objects of this class can't be created directly, use the following
|
||||
// factory functions to get access to them.
|
||||
static wxWebSession& GetDefault();
|
||||
|
||||
static wxWebSession* New(const wxString& backend = wxWebSessionBackendDefault);
|
||||
|
||||
// Can be used to check if the given backend is available without actually
|
||||
// creating a session using it.
|
||||
static bool IsBackendAvailable(const wxString& backend);
|
||||
|
||||
virtual ~wxWebSession() { }
|
||||
|
||||
virtual wxWebRequest* CreateRequest(const wxString& url, int id = wxID_ANY) = 0;
|
||||
|
|
@ -217,12 +227,6 @@ public:
|
|||
|
||||
wxString GetTempDir() const;
|
||||
|
||||
static wxWebSession& GetDefault();
|
||||
|
||||
static wxWebSession* New(const wxString& backend = wxWebSessionBackendDefault);
|
||||
|
||||
static bool IsBackendAvailable(const wxString& backend);
|
||||
|
||||
protected:
|
||||
wxWebSession();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue