summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/geometry.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h
index b2a8e5b0..03962d7d 100644
--- a/include/libcamera/geometry.h
+++ b/include/libcamera/geometry.h
@@ -67,7 +67,9 @@ static inline bool operator>=(const Size &lhs, const Size &rhs)
return !(lhs < rhs);
}
-struct SizeRange {
+class SizeRange
+{
+public:
SizeRange()
{
}
@@ -90,6 +92,8 @@ struct SizeRange {
{
}
+ std::string toString() const;
+
Size min;
Size max;
unsigned int hStep;