-/////////////////////////////////////////////////////////////////////////////\r
-// Name: webviewfshandler.cpp\r
-// Purpose: Custom webview handler for virtual file system\r
-// Author: Nick Matthews\r
-// Id: $Id$\r
-// Copyright: (c) 2012 Steven Lamerton\r
-// Licence: wxWindows licence\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-// For compilers that support precompilation, includes "wx.h".\r
-#include "wx/wxprec.h"\r
-\r
-#if wxUSE_WEBVIEW\r
-\r
-#if defined(__BORLANDC__)\r
- #pragma hdrstop\r
-#endif\r
-\r
-#include "wx/webviewfshandler.h"\r
-#include "wx/filesys.h"\r
-\r
-wxWebViewFSHandler::wxWebViewFSHandler(const wxString& scheme) :\r
- wxWebViewHandler(scheme)\r
-{\r
- m_fileSystem = new wxFileSystem();\r
-}\r
-\r
-wxWebViewFSHandler::~wxWebViewFSHandler()\r
-{\r
- wxDELETE(m_fileSystem);\r
-}\r
-\r
-wxFSFile* wxWebViewFSHandler::GetFile(const wxString &uri)\r
-{\r
- return m_fileSystem->OpenFile(uri);\r
-}\r
-\r
-#endif // wxUSE_WEBVIEW\r
+/////////////////////////////////////////////////////////////////////////////
+// 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