Rename wxWebFileHandler to wxWebViewArchiveHandler, wxWebHandler to wxWebViewHandler. Update the documentation and the sample. Add a constructor taking a wxString to specify the scheme in wxWebViewHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,7 +110,7 @@ public:
|
||||
virtual void RunScript(const wxString& javascript);
|
||||
|
||||
//Virtual Filesystem Support
|
||||
virtual void RegisterHandler(wxSharedPtr<wxWebHandler> handler);
|
||||
virtual void RegisterHandler(wxSharedPtr<wxWebViewHandler> handler);
|
||||
|
||||
// ---- IE-specific methods
|
||||
|
||||
@@ -169,10 +169,10 @@ protected:
|
||||
VOID * fileP;
|
||||
|
||||
wxFSFile* m_file;
|
||||
wxSharedPtr<wxWebHandler> m_handler;
|
||||
wxSharedPtr<wxWebViewHandler> m_handler;
|
||||
|
||||
public:
|
||||
VirtualProtocol(wxSharedPtr<wxWebHandler> handler);
|
||||
VirtualProtocol(wxSharedPtr<wxWebViewHandler> handler);
|
||||
~VirtualProtocol();
|
||||
|
||||
//IUnknown
|
||||
@@ -211,7 +211,7 @@ class ClassFactory : public IClassFactory
|
||||
private:
|
||||
ULONG m_refCount;
|
||||
public:
|
||||
ClassFactory(wxSharedPtr<wxWebHandler> handler) : m_handler(handler) {}
|
||||
ClassFactory(wxSharedPtr<wxWebViewHandler> handler) : m_handler(handler) {}
|
||||
//IUnknown
|
||||
ULONG STDMETHODCALLTYPE AddRef();
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
|
||||
@@ -222,7 +222,7 @@ public:
|
||||
REFIID riid, void** ppvObject);
|
||||
HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock);
|
||||
private:
|
||||
wxSharedPtr<wxWebHandler> m_handler;
|
||||
wxSharedPtr<wxWebViewHandler> m_handler;
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBVIEW_IE && defined(__WXMSW__)
|
||||
|
Reference in New Issue
Block a user