]> git.saurik.com Git - wxWidgets.git/blame - include/wx/webviewfshandler.h
Try loading even English translations if provided.
[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
81a887a8
DS
5// Copyright: (c) 2012 Steven Lamerton
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9// Based on webviewarchivehandler.h file by Steven Lamerton
10
236cff73
SL
11#ifndef _WX_WEBVIEW_FS_HANDLER_H_
12#define _WX_WEBVIEW_FS_HANDLER_H_
81a887a8
DS
13
14#include "wx/setup.h"
15
16#if wxUSE_WEBVIEW
17
18class wxFSFile;
19class wxFileSystem;
20
21#include "wx/webview.h"
22
23//Loads from uris such as scheme:example.html
24
25class WXDLLIMPEXP_WEBVIEW wxWebViewFSHandler : public wxWebViewHandler
26{
27public:
28 wxWebViewFSHandler(const wxString& scheme);
29 virtual ~wxWebViewFSHandler();
30 virtual wxFSFile* GetFile(const wxString &uri);
31private:
32 wxFileSystem* m_fileSystem;
33};
34
35#endif // wxUSE_WEBVIEW
36
236cff73 37#endif // _WX_WEBVIEW_FS_HANDLER_H_