From 0b860bb5dd6d2007db605291d239a6a9d41f57d1 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 23 Sep 2024 07:36:16 -0500 Subject: Installable library. --- include/fud_c_file.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/fud_c_file.hpp') 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; -- cgit v1.2.3