Add wxGetFileType and IsSeekable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -108,6 +108,7 @@ the corresponding topic.
|
||||
\helpref{wxGetElapsedTime}{wxgetelapsedtime}\\
|
||||
\helpref{wxGetEmailAddress}{wxgetemailaddress}\\
|
||||
\helpref{wxGetEnv}{wxgetenv}\\
|
||||
\helpref{wxGetFileType}{wxgetfiletype}\\
|
||||
\helpref{wxGetFontFromUser}{wxgetfontfromuser}\\
|
||||
\helpref{wxGetFreeMemory}{wxgetfreememory}\\
|
||||
\helpref{wxGetFullHostName}{wxgetfullhostname}\\
|
||||
@@ -1015,6 +1016,30 @@ Mac OS and generic Unix provided the system has {\tt statfs()} function.
|
||||
This function first appeared in wxWidgets 2.3.2.
|
||||
|
||||
|
||||
\membersection{::wxGetFileType}\label{wxgetfiletype}
|
||||
|
||||
\func{wxFileTypeEnum}{wxGetFileType}{\param{int }{fd}}
|
||||
|
||||
\func{wxFileTypeEnum}{wxGetFileType}{\param{FILE *}{fp}}
|
||||
|
||||
Returns the type of an open file. Possible return values are:
|
||||
|
||||
\begin{verbatim}
|
||||
enum wxFileTypeEnum
|
||||
{
|
||||
wxFILE_TYPE_UNKNOWN,
|
||||
wxFILE_TYPE_DISK, // a file supporting seeking to arbitrary offsets
|
||||
wxFILE_TYPE_TERMINAL, // a tty
|
||||
wxFILE_TYPE_PIPE // a pipe
|
||||
};
|
||||
|
||||
\end{verbatim}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/filefn.h>
|
||||
|
||||
|
||||
\membersection{::wxGetOSDirectory}\label{wxgetosdirectory}
|
||||
|
||||
\func{wxString}{wxGetOSDirectory}{\void}
|
||||
|
Reference in New Issue
Block a user