]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/iochannel.hxx
Cygwin fixes.
[simgear.git] / simgear / io / iochannel.hxx
index 2cfa547773862441e750aa6ee71b7d306a35a236..48c782a1e045b05d91b66c94f9b79db403c697be 100644 (file)
@@ -152,6 +152,14 @@ public:
      */
     virtual bool close();
 
+    /**
+     * The eof() method returns true if end of file has been reached
+     * in a context where that makes sense.  Otherwise it returns
+     * false.
+     * @return result of eof check
+     */
+    virtual bool eof();
+
     inline void set_type( SGChannelType t ) { type = t; }
     inline SGChannelType get_type() const { return type; }