From 201d98f63131242bb8871ed0c4a3ae9ebd4ef030 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 12 Jan 2025 17:57:45 +0100 Subject: start refactoring. non-working commit --- src/pixels.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pixels.h') diff --git a/src/pixels.h b/src/pixels.h index 6095220..1d5effb 100644 --- a/src/pixels.h +++ b/src/pixels.h @@ -6,6 +6,7 @@ #include +#include "constants.h" #include "typedefs.h" struct Pixels @@ -29,4 +30,6 @@ struct Pixels * \return - true on success, false otherwise */ [[nodiscard]] bool save(const QString& filename); + + operator bool() const; }; -- cgit v1.2.3-70-g09d2