From cadd476dab5a329ebb654a2f9595b9da39ce148d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 27 Feb 2000 21:07:04 +0000 Subject: [PATCH] documented VFS handlers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/fs.tex | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/docs/latex/wx/fs.tex b/docs/latex/wx/fs.tex index 277eb0ecef..61422f1947 100644 --- a/docs/latex/wx/fs.tex +++ b/docs/latex/wx/fs.tex @@ -61,10 +61,36 @@ which is at WWW. \wxheading{File Systems Included in wxHTML} -\begin{enumerate}\itemsep=0pt -\item Local files -\item HTTP protocol -\item FTP protocol -\item .ZIP archives -\end{enumerate} +Following VFS handlers are part of wxWindows so far: + +\begin{twocollist} +\twocolitem{{\bf wxInternetFSHandler}}{Handler for accessing documents +via HTTP or FTP protocols. Include file is .} +\twocolitem{{\bf wxZipFSHandler}}{Handler for ZIP archives. +Include file is . URL is in form "archive.zip\#zip:filename".} +\twocolitem{{\bf wxMemoryFSHandler}}{This handler allows you to access +data stored in memory (such as bitmaps) as if they were regular files. +See \helpref{wxMemoryFSHandler documentation}{wxmemoryfshandler} for details. +Include file is . UURL is prefixed with memory:, e.g. +"memory:myfile.htm"} +\end{twocollist} + +In addition, wxFileSystem can access local files. + + +Use \helpref{wxFileSystem::AddHandler}{wxfilesystemaddhandler} to initialize +a handler, for example: + +\begin{verbatim} +#include + +... + +bool MyApp::OnInit() +{ + wxFileSystem::AddHandler(new wxMemoryFSHandler); +... +\end{verbatim} + +