]> git.saurik.com Git - wxWidgets.git/blame - include/wx/webviewarchivehandler.h
Avoid including pipe stream headers when streams are disabled.
[wxWidgets.git] / include / wx / webviewarchivehandler.h
CommitLineData
9e3d4a32 1/////////////////////////////////////////////////////////////////////////////
7d8d6163
SL
2// Name: webviewarchivehandler.h
3// Purpose: Custom webview handler to allow archive browsing
9e3d4a32
SL
4// Author: Steven Lamerton
5// Id: $Id$
6// Copyright: (c) 2011 Steven Lamerton
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
236cff73
SL
10#ifndef _WX_WEBVIEW_FILE_HANDLER_H_
11#define _WX_WEBVIEW_FILE_HANDLER_H_
9e3d4a32
SL
12
13#include "wx/setup.h"
14
88cc66f7 15#if wxUSE_WEBVIEW
9e3d4a32
SL
16
17class wxFSFile;
18class wxFileSystem;
19
20#include "wx/webview.h"
21
7d8d6163 22//Loads from uris such as scheme:///C:/example/example.html or archives such as
34326da7 23//scheme:///C:/example/example.zip;protocol=zip/example.html
9e3d4a32 24
467d261e 25class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler
9e3d4a32
SL
26{
27public:
7d8d6163 28 wxWebViewArchiveHandler(const wxString& scheme);
f2ae0da1 29 virtual ~wxWebViewArchiveHandler();
9e3d4a32 30 virtual wxFSFile* GetFile(const wxString &uri);
9e3d4a32 31private:
9e3d4a32
SL
32 wxFileSystem* m_fileSystem;
33};
34
88cc66f7 35#endif // wxUSE_WEBVIEW
9e3d4a32 36
236cff73 37#endif // _WX_WEBVIEW_FILE_HANDLER_H_