summaryrefslogtreecommitdiff
path: root/src/pixels.h
diff options
context:
space:
mode:
authorNikita Kostovsky <luntik2012@gmail.com>2025-01-12 17:57:45 +0100
committerNikita Kostovsky <luntik2012@gmail.com>2025-01-12 17:57:45 +0100
commit201d98f63131242bb8871ed0c4a3ae9ebd4ef030 (patch)
tree763a52710b3c8021c62b93535692b53de90265e5 /src/pixels.h
parent4782e81c32392c78025aae1acb4b2ed1d1395908 (diff)
start refactoring. non-working commit
Diffstat (limited to 'src/pixels.h')
-rw-r--r--src/pixels.h3
1 files changed, 3 insertions, 0 deletions
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 <QString>
+#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;
};