X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..3ce369e6876c49ad7a101ad222048bd5446b7125:/docs/latex/wx/fsfile.tex diff --git a/docs/latex/wx/fsfile.tex b/docs/latex/wx/fsfile.tex index 7c0e956aa1..14b54ccd7d 100644 --- a/docs/latex/wx/fsfile.tex +++ b/docs/latex/wx/fsfile.tex @@ -67,24 +67,24 @@ class wxMyFSFile : public wxFSFile }; \end{verbatim} -\membersection{wxFSFile::GetStream}\label{wxfsfilegetstream} - -\constfunc{wxInputStream*}{GetStream}{\void} +\membersection{wxFSFile::GetAnchor}\label{wxfsfilegetanchor} -Returns pointer to the stream. You can use the returned -stream to directly access data. You may suppose -that the stream provide Seek and GetSize functionality -(even in case of HTTP protocol which doesn't provide -this by default. wxHtml is using local cache to workaround -this and to speed up connection) +\constfunc{const wxString\&}{GetAnchor}{\void} -\membersection{wxFSFile::GetMimeType}\label{wxfsfilegetmimetype} +Returns anchor (if present). The term of {\bf anchor} can be easily +explained using few examples: -\constfunc{const wxString\&}{GetMimeType}{\void} +\begin{verbatim} +index.htm#anchor /* 'anchor' is anchor */ +index/wx001.htm /* NO anchor here! */ +archive/main.zip#zip:index.htm#global /* 'global' */ +archive/main.zip#zip:index.htm /* NO anchor here! */ +\end{verbatim} -Returns MIME type of the content of this file. It is either -extension-based (see wxMimeTypesManager) or extracted from -HTTP protocol Content-Type header. +Usually anchor is presented only if mime type is 'text/html'. +But it may have some meaning with other files +(for example myanim.avi\#200 may refer to position in animation +or reality.wrl\#MyView may refer to predefined view in VRML) \membersection{wxFSFile::GetLocation}\label{wxfsfilegetlocation} @@ -100,22 +100,22 @@ file:/home/vasek/index.htm relative-file.htm \end{verbatim} -\membersection{wxFSFile::GetAnchor}\label{wxfsfilegetanchor} +\membersection{wxFSFile::GetMimeType}\label{wxfsfilegetmimetype} -\constfunc{const wxString\&}{GetAnchor}{\void} +\constfunc{const wxString\&}{GetMimeType}{\void} -Returns anchor (if present). The term of {\bf anchor} can be easily -explained using few examples: +Returns MIME type of the content of this file. It is either +extension-based (see wxMimeTypesManager) or extracted from +HTTP protocol Content-Type header. -\begin{verbatim} -index.htm#anchor /* 'anchor' is anchor */ -index/wx001.htm /* NO anchor here! */ -archive/main.zip#zip:index.htm#global /* 'global' */ -archive/main.zip#zip:index.htm /* NO anchor here! */ -\end{verbatim} +\membersection{wxFSFile::GetStream}\label{wxfsfilegetstream} -Usually anchor is presented only if mime type is 'text/html'. -But it may have some meaning with other files -(for example myanim.avi\#200 may refer to position in animation -or reality.wrl\#MyView may refer to predefined view in VRML) +\constfunc{wxInputStream*}{GetStream}{\void} + +Returns pointer to the stream. You can use the returned +stream to directly access data. You may suppose +that the stream provide Seek and GetSize functionality +(even in case of HTTP protocol which doesn't provide +this by default. wxHtml is using local cache to workaround +this and to speed up connection)