Add wxWebSession::GetLibraryVersionInfo()

This commit is contained in:
Tobias Taschner
2018-11-06 22:39:13 +01:00
parent 4af4dd6cbf
commit 45f006d752
7 changed files with 37 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
#include "wx/sharedptr.h"
#include "wx/stream.h"
#include "wx/vector.h"
#include "wx/versioninfo.h"
class wxWebResponse;
class wxWebSession;
@@ -223,6 +224,8 @@ public:
virtual wxWebRequest* CreateRequest(const wxString& url, int id = wxID_ANY) = 0;
virtual wxVersionInfo GetLibraryVersionInfo() = 0;
virtual void SetHeader(const wxString& name, const wxString& value)
{ m_headers[name] = value; }