]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_file.hxx
Added a touch of error checking to the screen dump routine, i.e. don't
[simgear.git] / simgear / io / sg_file.hxx
index 994cc27564364240e1b4de5c9a3c06e94d28d580..b2618f28e051b16477552ae399291ec88afb6117 100644 (file)
@@ -52,7 +52,7 @@ class SGFile : public SGIOChannel {
 
 public:
 
-    SGFile();
+    SGFile( const string& file );
     ~SGFile();
 
     // open the file based on specified direction
@@ -74,7 +74,6 @@ public:
     bool close();
 
     inline string get_file_name() const { return file_name; }
-    inline void set_file_name( const string& fn ) { file_name = fn; }
 };