]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fileback.h
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
[wxWidgets.git] / include / wx / fileback.h
index 2f98bb7198d2ef9962860e317f5e805ea1b33329..5fda9c0c50c81662c69be0dc862b7ac4bfe610a2 100644 (file)
@@ -57,7 +57,13 @@ class WXDLLIMPEXP_BASE wxBackedInputStream : public wxInputStream
 public:
     wxBackedInputStream(const wxBackingFile& backer);
 
+    // If the length of the backer's parent stream is unknown then GetLength()
+    // returns wxInvalidOffset until the parent has been read to the end.
     wxFileOffset GetLength() const;
+
+    // Returns the length, reading the parent stream to the end if necessary.
+    wxFileOffset FindLength() const;
+
     bool IsSeekable() const { return true; }
 
 protected: