summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/controls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index d692e088..b1b73367 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -233,12 +233,16 @@ public:
const ControlValue &get(unsigned int id) const;
void set(unsigned int id, const ControlValue &value);
+ const ControlInfoMap *infoMap() const { return infoMap_; }
+
private:
const ControlValue *find(unsigned int id) const;
ControlValue *find(unsigned int id);
ControlValidator *validator_;
const ControlIdMap *idmap_;
+ const ControlInfoMap *infoMap_;
+
ControlListMap controls_;
};