]> git.saurik.com Git - wxWidgets.git/blame - include/wx/webviewfshandler.h
Reset sorting column in generic wxDataViewCtrl properly.
[wxWidgets.git] / include / wx / webviewfshandler.h
CommitLineData
81a887a8
DS
1/////////////////////////////////////////////////////////////////////////////
2// Name: webviewfshandler.h
3// Purpose: Custom webview handler for virtual file system
4// Author: Nick Matthews
5// Id: $Id$
6// Copyright: (c) 2012 Steven Lamerton
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10// Based on webviewarchivehandler.h file by Steven Lamerton
11
236cff73
SL
12#ifndef _WX_WEBVIEW_FS_HANDLER_H_
13#define _WX_WEBVIEW_FS_HANDLER_H_
81a887a8
DS
14
15#include "wx/setup.h"
16
17#if wxUSE_WEBVIEW
18
19class wxFSFile;
20class wxFileSystem;
21
22#include "wx/webview.h"
23
24//Loads from uris such as scheme:example.html
25
26class WXDLLIMPEXP_WEBVIEW wxWebViewFSHandler : public wxWebViewHandler
27{
28public:
29 wxWebViewFSHandler(const wxString& scheme);
30 virtual ~wxWebViewFSHandler();
31 virtual wxFSFile* GetFile(const wxString &uri);
32private:
33 wxFileSystem* m_fileSystem;
34};
35
36#endif // wxUSE_WEBVIEW
37
236cff73 38#endif // _WX_WEBVIEW_FS_HANDLER_H_