X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/605d715ddd84ddc3e78423e3f3ae5c27c8ff4d43..42d14d4e8fbcc49af37381f7b6730d70da84f2ac:/docs/latex/wx/fs.tex?ds=sidebyside 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} + +