diff options
Diffstat (limited to 'src/BMPImage.h')
| -rw-r--r-- | src/BMPImage.h | 21 |
1 files changed, 13 insertions, 8 deletions
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 <cstdint> #include <cstring> -class BMPImage : public Image +namespace TehImage { -private: -public: - // template<std::derived_from<Image> T> BMPImage(const T& other) : Image(other) { } - BMPImage(const Image& other) : Image(other) {} + + class BMPImage : public Image + { + private: + public: + // template<std::derived_from<Image> 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; + }; + +} |
