image: make non-copyable

This commit is contained in:
Vaxry 2024-11-22 15:05:51 +00:00
parent cfefd47632
commit d09dfd1bb5

View file

@ -12,6 +12,10 @@ namespace Hyprgraphics {
CImage(const std::string& path);
~CImage();
CImage(const CImage&) = delete;
CImage& operator=(const CImage&) = delete;
//
bool success();
bool hasAlpha();
std::string getError();