summaryrefslogtreecommitdiff
path: root/shared/file_io.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/file_io.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
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