Set svn properties on recently added files.
Added svn:eol-style (set to native) and svn:keywords (set to Id) for .cpp and .h files that were added since r72218. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
410e9d277c
commit
81a887a895
@ -1,38 +1,38 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.h
|
||||
// Purpose: Custom webview handler for virtual file system
|
||||
// Author: Nick Matthews
|
||||
// Id: $Id$
|
||||
// Copyright: (c) 2012 Steven Lamerton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Based on webviewarchivehandler.h file by Steven Lamerton
|
||||
|
||||
#ifndef _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
#define _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_WEBVIEW
|
||||
|
||||
class wxFSFile;
|
||||
class wxFileSystem;
|
||||
|
||||
#include "wx/webview.h"
|
||||
|
||||
//Loads from uris such as scheme:example.html
|
||||
|
||||
class WXDLLIMPEXP_WEBVIEW wxWebViewFSHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
wxWebViewFSHandler(const wxString& scheme);
|
||||
virtual ~wxWebViewFSHandler();
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
private:
|
||||
wxFileSystem* m_fileSystem;
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBVIEW
|
||||
|
||||
#endif // _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.h
|
||||
// Purpose: Custom webview handler for virtual file system
|
||||
// Author: Nick Matthews
|
||||
// Id: $Id$
|
||||
// Copyright: (c) 2012 Steven Lamerton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Based on webviewarchivehandler.h file by Steven Lamerton
|
||||
|
||||
#ifndef _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
#define _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_WEBVIEW
|
||||
|
||||
class wxFSFile;
|
||||
class wxFileSystem;
|
||||
|
||||
#include "wx/webview.h"
|
||||
|
||||
//Loads from uris such as scheme:example.html
|
||||
|
||||
class WXDLLIMPEXP_WEBVIEW wxWebViewFSHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
wxWebViewFSHandler(const wxString& scheme);
|
||||
virtual ~wxWebViewFSHandler();
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
private:
|
||||
wxFileSystem* m_fileSystem;
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBVIEW
|
||||
|
||||
#endif // _WX_WEB_VIEW_FS_HANDLER_H_
|
||||
|
@ -1,32 +1,32 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.h
|
||||
// Purpose: interface of wxWebViewFSHandler
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
@class wxWebViewFSHandler
|
||||
|
||||
A wxWebView file system handler to support standard wxFileSystem protocols
|
||||
of the form <code> example:page.htm </code> The handler allows wxWebView to
|
||||
use wxFileSystem in a similar fashion to its use with wxHtml.
|
||||
|
||||
The wxMemoryFSHandler documentation gives an example of how it may be used.
|
||||
|
||||
@since 2.9.5
|
||||
@library{wxwebview}
|
||||
@category{webview}
|
||||
|
||||
@see wxWebView, wxWebViewHandler, wxWebViewArchiveHandler
|
||||
*/
|
||||
class wxWebViewFSHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Constructor.
|
||||
*/
|
||||
wxWebViewFSHandler(const wxString& scheme);
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
};
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.h
|
||||
// Purpose: interface of wxWebViewFSHandler
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
@class wxWebViewFSHandler
|
||||
|
||||
A wxWebView file system handler to support standard wxFileSystem protocols
|
||||
of the form <code> example:page.htm </code> The handler allows wxWebView to
|
||||
use wxFileSystem in a similar fashion to its use with wxHtml.
|
||||
|
||||
The wxMemoryFSHandler documentation gives an example of how it may be used.
|
||||
|
||||
@since 2.9.5
|
||||
@library{wxwebview}
|
||||
@category{webview}
|
||||
|
||||
@see wxWebView, wxWebViewHandler, wxWebViewArchiveHandler
|
||||
*/
|
||||
class wxWebViewFSHandler : public wxWebViewHandler
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Constructor.
|
||||
*/
|
||||
wxWebViewFSHandler(const wxString& scheme);
|
||||
virtual wxFSFile* GetFile(const wxString &uri);
|
||||
};
|
||||
|
@ -1,38 +1,38 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.cpp
|
||||
// Purpose: Custom webview handler for virtual file system
|
||||
// Author: Nick Matthews
|
||||
// Id: $Id$
|
||||
// Copyright: (c) 2012 Steven Lamerton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxUSE_WEBVIEW
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/webviewfshandler.h"
|
||||
#include "wx/filesys.h"
|
||||
|
||||
wxWebViewFSHandler::wxWebViewFSHandler(const wxString& scheme) :
|
||||
wxWebViewHandler(scheme)
|
||||
{
|
||||
m_fileSystem = new wxFileSystem();
|
||||
}
|
||||
|
||||
wxWebViewFSHandler::~wxWebViewFSHandler()
|
||||
{
|
||||
wxDELETE(m_fileSystem);
|
||||
}
|
||||
|
||||
wxFSFile* wxWebViewFSHandler::GetFile(const wxString &uri)
|
||||
{
|
||||
return m_fileSystem->OpenFile(uri);
|
||||
}
|
||||
|
||||
#endif // wxUSE_WEBVIEW
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: webviewfshandler.cpp
|
||||
// Purpose: Custom webview handler for virtual file system
|
||||
// Author: Nick Matthews
|
||||
// Id: $Id$
|
||||
// Copyright: (c) 2012 Steven Lamerton
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxUSE_WEBVIEW
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/webviewfshandler.h"
|
||||
#include "wx/filesys.h"
|
||||
|
||||
wxWebViewFSHandler::wxWebViewFSHandler(const wxString& scheme) :
|
||||
wxWebViewHandler(scheme)
|
||||
{
|
||||
m_fileSystem = new wxFileSystem();
|
||||
}
|
||||
|
||||
wxWebViewFSHandler::~wxWebViewFSHandler()
|
||||
{
|
||||
wxDELETE(m_fileSystem);
|
||||
}
|
||||
|
||||
wxFSFile* wxWebViewFSHandler::GetFile(const wxString &uri)
|
||||
{
|
||||
return m_fileSystem->OpenFile(uri);
|
||||
}
|
||||
|
||||
#endif // wxUSE_WEBVIEW
|
||||
|
Loading…
Reference in New Issue
Block a user