]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/filefn.h
s/wxGetTempFileName/wxFileName::CreateTempFileName
[wxWidgets.git] / interface / wx / filefn.h
index aa1eea43db5bb9b1207debfb1252d4edc431f3af..4d2ac750a709688e97e8961d2b89be35bf8882a4 100644 (file)
@@ -98,9 +98,24 @@ public:
 // Global functions/macros
 // ============================================================================
 
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
 //@{
 
+/**
+    A special return value of many wxWidgets classes to indicate that
+    an invalid offset was given.
+*/
+const int wxInvalidOffset = -1;
+
+/**
+    The type used to store and provide byte offsets or byte sizes for files or streams.
+
+    It is type-defined as @c off_t on POSIX platforms
+    (see http://www.gnu.org/software/libc/manual/html_node/File-Position-Primitive.html)
+    or to @c wxLongLong_t on Windows when @c wxHAS_HUGE_FILES is defined.
+*/
+typedef off_t wxFileOffset;
+
 /**
     Under Unix this macro changes the current process umask to the given value,
     unless it is equal to -1 in which case nothing is done, and restores it to
@@ -110,7 +125,7 @@ public:
 
     @header{wx/filefn.h}
 */
-#define wxCHANGE_UMASK(int mask)
+#define wxCHANGE_UMASK(mask)
 
 /**
     This function returns the total number of bytes and number of free bytes on
@@ -416,7 +431,7 @@ enum wxFileKind
 
 //@}
 
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
 //@{
 /**
     Returns the type of an open file. Possible return values are enumerations
@@ -428,7 +443,7 @@ wxFileKind wxGetFileKind(int fd);
 wxFileKind wxGetFileKind(FILE* fp);
 //@}
 
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
 //@{
 /**
     @warning This function is obsolete, please use wxFileName::SplitPath()
@@ -443,7 +458,7 @@ wxString wxFileNameFromPath(const wxString& path);
 char* wxFileNameFromPath(char* path);
 //@}
 
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
 //@{
 /**
     @warning This function is obsolete, please use