diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 07:36:16 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 07:36:16 -0500 |
commit | 0b860bb5dd6d2007db605291d239a6a9d41f57d1 (patch) | |
tree | fab140e03a3665236503d1405de9d33ba58ccc4a /include/fud_c_file.hpp | |
parent | 7da829d48f9059c83ab9cada2c850621e8bbd3f3 (diff) |
Installable library.
Diffstat (limited to 'include/fud_c_file.hpp')
-rw-r--r-- | include/fud_c_file.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp index f89839d..281d216 100644 --- a/include/fud_c_file.hpp +++ b/include/fud_c_file.hpp @@ -86,10 +86,13 @@ class CBinaryFile { public: CBinaryFile(const String& filename, CFileMode mode); CBinaryFile(const String& filename, CFileMode mode, const String& extraFlags); + CBinaryFile(const CBinaryFile& rhs) = delete; ~CBinaryFile(); + CBinaryFile& operator=(const CBinaryFile& rhs) = delete; FileResult open(); void close(); const FILE* file() const; + FILE* file(); private: String m_filename; |