summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index 1ec1b93..934aa40 100644
--- a/src/image.h
+++ b/src/image.h
@@ -5,6 +5,7 @@
class Pixels;
+// TODO: template
struct Image
{
int width{0};
@@ -18,4 +19,5 @@ struct Image
void rotate();
std::shared_ptr<Pixels> pixels() const;
+ void copyFromData(const void* src, size_t size);
};