From 328e2464c81b0dfce623d4fbe9617ef79d6ed3c1 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 7 Oct 2025 18:45:28 +1300 Subject: feat: Added cpp namespace All functions and classes are now behind the cpp namespace `TehImage` --- src/BMPImage.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'src/BMPImage.h') diff --git a/src/BMPImage.h b/src/BMPImage.h index 52db0b1..651192b 100644 --- a/src/BMPImage.h +++ b/src/BMPImage.h @@ -4,13 +4,18 @@ #include #include -class BMPImage : public Image +namespace TehImage { -private: -public: - // template T> BMPImage(const T& other) : Image(other) { } - BMPImage(const Image& other) : Image(other) {} + + class BMPImage : public Image + { + private: + public: + // template T> BMPImage(const T& other) : Image(other) { } + BMPImage(const Image& other) : Image(other) {} - int readFromFile(std::string filename) override; - int writeToFile(std::string filename) override; -}; + int readFromFile(std::string filename) override; + int writeToFile(std::string filename) override; + }; + +} -- cgit v1.2.3