Rename wxGetFileType to wxGetFileKind

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-02-12 21:53:51 +00:00
parent 9e8e867ff9
commit 0912690b65
16 changed files with 91 additions and 91 deletions

View File

@@ -145,19 +145,19 @@ if the file is not opened.
Flushes the file and returns \true on success.
\membersection{wxFFile::GetFileType}\label{wxffilegetfiletype}
\membersection{wxFFile::GetKind}\label{wxffilegetfilekind}
\constfunc{wxFileTypeEnum}{GetFileType}{\void}
\constfunc{wxFileKind}{GetKind}{\void}
Returns the type of the file. Possible return values are:
\begin{verbatim}
enum wxFileTypeEnum
enum wxFileKind
{
wxFILE_TYPE_UNKNOWN,
wxFILE_TYPE_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_TYPE_TERMINAL, // a tty
wxFILE_TYPE_PIPE // a pipe
wxFILE_KIND_UNKNOWN,
wxFILE_KIND_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_KIND_TERMINAL, // a tty
wxFILE_KIND_PIPE // a pipe
};
\end{verbatim}

View File

@@ -200,19 +200,19 @@ Note that wxFile::Flush is not implemented on some Windows compilers
due to a missing fsync function, which reduces the usefulness of this function
(it can still be called but it will do nothing on unsupported compilers).
\membersection{wxFile::GetFileType}\label{wxfilegetfiletype}
\membersection{wxFile::GetKind}\label{wxfilegetfilekind}
\constfunc{wxFileTypeEnum}{GetFileType}{\void}
\constfunc{wxFileKind}{GetKind}{\void}
Returns the type of the file. Possible return values are:
\begin{verbatim}
enum wxFileTypeEnum
enum wxFileKind
{
wxFILE_TYPE_UNKNOWN,
wxFILE_TYPE_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_TYPE_TERMINAL, // a tty
wxFILE_TYPE_PIPE // a pipe
wxFILE_KIND_UNKNOWN,
wxFILE_KIND_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_KIND_TERMINAL, // a tty
wxFILE_KIND_PIPE // a pipe
};
\end{verbatim}

View File

@@ -108,7 +108,7 @@ the corresponding topic.
\helpref{wxGetElapsedTime}{wxgetelapsedtime}\\
\helpref{wxGetEmailAddress}{wxgetemailaddress}\\
\helpref{wxGetEnv}{wxgetenv}\\
\helpref{wxGetFileType}{wxgetfiletype}\\
\helpref{wxGetFileKind}{wxgetfilekind}\\
\helpref{wxGetFontFromUser}{wxgetfontfromuser}\\
\helpref{wxGetFreeMemory}{wxgetfreememory}\\
\helpref{wxGetFullHostName}{wxgetfullhostname}\\
@@ -1016,21 +1016,21 @@ 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}
\membersection{::wxGetFileKind}\label{wxgetfilekind}
\func{wxFileTypeEnum}{wxGetFileType}{\param{int }{fd}}
\func{wxFileKind}{wxGetFileKind}{\param{int }{fd}}
\func{wxFileTypeEnum}{wxGetFileType}{\param{FILE *}{fp}}
\func{wxFileKind}{wxGetFileKind}{\param{FILE *}{fp}}
Returns the type of an open file. Possible return values are:
\begin{verbatim}
enum wxFileTypeEnum
enum wxFileKind
{
wxFILE_TYPE_UNKNOWN,
wxFILE_TYPE_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_TYPE_TERMINAL, // a tty
wxFILE_TYPE_PIPE // a pipe
wxFILE_KIND_UNKNOWN,
wxFILE_KIND_DISK, // a file supporting seeking to arbitrary offsets
wxFILE_KIND_TERMINAL, // a tty
wxFILE_KIND_PIPE // a pipe
};
\end{verbatim}