]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/file.h
added test of focusing/selecting another item
[wxWidgets.git] / interface / file.h
index d019a5a31c4660137a2254c5a57a25f17299a2f9..a2a28297efb2ffd8931c756397eac84d64eb5157 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        file.h
-// Purpose:     documentation for wxTempFile class
+// Purpose:     interface of wxTempFile
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -79,12 +79,12 @@ public:
     /**
         Returns @true if the file was successfully opened.
     */
-    bool IsOpened();
+    bool IsOpened() const;
 
     /**
         Returns the length of the file.
     */
-    wxFileOffset Length();
+    wxFileOffset Length() const;
 
     /**
         Open the temporary file, returns @true on success, @false if an error
@@ -107,7 +107,7 @@ public:
         another
         error occurred.
     */
-    wxFileOffset Tell();
+    wxFileOffset Tell() const;
 
     /**
         Write to the file, return @true on success, @false on failure.
@@ -119,6 +119,7 @@ public:
 };
 
 
+
 /**
     @class wxFile
     @wxheader{file.h}
@@ -220,7 +221,7 @@ public:
         Read() repeatedly and tests its return condition instead
         of using Eof() as this will not work for special files under Unix.
     */
-    bool Eof();
+    bool Eof() const;
 
     /**
         Returns @true if the given name specifies an existing regular file (not a
@@ -239,17 +240,17 @@ public:
     /**
         Returns the type of the file. Possible return values are:
     */
-    wxFileKind GetKind();
+    wxFileKind GetKind() const;
 
     /**
         Returns @true if the file has been opened.
     */
-    bool IsOpened();
+    bool IsOpened() const;
 
     /**
         Returns the length of the file.
     */
-    wxFileOffset Length();
+    wxFileOffset Length() const;
 
     /**
         Opens the file, returning @true if successful.
@@ -304,7 +305,7 @@ public:
         another
         error occurred.
     */
-    wxFileOffset Tell();
+    wxFileOffset Tell() const;
 
     /**
         Writes the contents of the string to the file, returns @true on success.
@@ -319,5 +320,6 @@ public:
     /**
         Returns the file descriptor associated with the file.
     */
-    int fd();
+    int fd() const;
 };
+