]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/url.tex
ShowFullScreen (MSW) doc; projgen updates
[wxWidgets.git] / docs / latex / wx / url.tex
index 56a55a318c8e914b0fa6d1de5b58f8416eb2d421..664c004f99d5e184ee3ddb3e3a6e34dc283a9cea 100644 (file)
 
 \helpref{wxSocketBase}{wxsocketbase}, \helpref{wxProtocol}{wxprotocol}
 
+\wxheading{Example}
+
+\begin{verbatim}
+  wxURL url("http://a.host/a.dir/a.file");
+  wxInputStream *in_stream;
+
+  in_stream = url.GetInputStream();
+  // Then, you can use all IO calls of in_stream (See wxStream)
+\end{verbatim}
+
 % ----------------------------------------------------------------------------
 % Members
 % ----------------------------------------------------------------------------
-\latexignore{\rtfignore{\membersection{Members}}}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
 
 \membersection{wxURL::wxURL}\label{wxurlconstr}
 
@@ -51,6 +62,15 @@ Returns the name of the protocol which will be used to get the URL.
 
 Returns a reference to the protocol which will be used to get the URL.
 
+%
+% GetPath
+%
+\membersection{wxURL::GetPath}
+
+\func{wxString}{GetPath}{\void}
+
+Returns the path of the file to fetch. This path was encoded in the URL.
+
 %
 % GetError
 %
@@ -123,3 +143,13 @@ Sets the proxy to use for this URL.
 
 \helpref{wxURL::SetDefaultProxy}{wxurlsetdefaultproxy}
 
+%
+% SetProxy
+%
+\membersection{wxURL::ConvertToValidURI}
+
+\func{static wxString}{ConvertToValidURI}{\param{const wxString\&}{ uri}}
+
+It converts a non-standardized URI to a valid network URI. It encodes non
+standard characters.
+