summaryrefslogtreecommitdiff
path: root/shared/file_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/file_io.h')
-rw-r--r--shared/file_io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/file_io.h b/shared/file_io.h
index d311346a..79b521f1 100644
--- a/shared/file_io.h
+++ b/shared/file_io.h
@@ -37,6 +37,9 @@ public:
bool eof(); //end of file reached
private:
+ FileInput(const FileInput&);
+ FileInput& operator=(const FileInput&);
+
bool eofReached;
FileHandle fileHandle;
const Zstring filename_;
@@ -58,6 +61,9 @@ public:
void write(const void* buffer, size_t bytesToWrite); //throw (FileError)
private:
+ FileOutput(const FileOutput&);
+ FileOutput& operator=(const FileOutput&);
+
FileHandle fileHandle;
const Zstring filename_;
};
bgstack15