Move wxStringWebSessionFactoryMap out of the header
Define wxWebSession::ms_defaultSession and ms_factoryMap in the implementation file to avoid having to make the otherwise unnecessary wxStringWebSessionFactoryMap type public. No real changes.
This commit is contained in:
@@ -215,8 +215,6 @@ public:
|
||||
virtual ~wxWebSessionFactory() { }
|
||||
};
|
||||
|
||||
WX_DECLARE_STRING_HASH_MAP(wxSharedPtr<wxWebSessionFactory>, wxStringWebSessionFactoryMap);
|
||||
|
||||
extern WXDLLIMPEXP_DATA_NET(const char) wxWebSessionBackendDefault[];
|
||||
extern WXDLLIMPEXP_DATA_NET(const char) wxWebSessionBackendWinHTTP[];
|
||||
extern WXDLLIMPEXP_DATA_NET(const char) wxWebSessionBackendURLSession[];
|
||||
@@ -242,8 +240,6 @@ public:
|
||||
|
||||
static wxWebSession& GetDefault();
|
||||
|
||||
static void DestroyDefault();
|
||||
|
||||
static wxWebSession* New(const wxString& backend = wxWebSessionBackendDefault);
|
||||
|
||||
static void RegisterFactory(const wxString& backend,
|
||||
@@ -258,9 +254,6 @@ private:
|
||||
wxWebRequestHeaderMap m_headers;
|
||||
wxString m_tempDir;
|
||||
|
||||
static wxScopedPtr<wxWebSession> ms_defaultSession;
|
||||
static wxStringWebSessionFactoryMap ms_factoryMap;
|
||||
|
||||
static void InitFactoryMap();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user