diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/controls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index 18293c94..fbb3a622 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -117,11 +117,13 @@ public: const_iterator begin() const { return controls_.begin(); } const_iterator end() const { return controls_.end(); } + bool contains(ControlId id) const; bool contains(const ControlInfo *info) const; bool empty() const { return controls_.empty(); } std::size_t size() const { return controls_.size(); } void clear() { controls_.clear(); } + ControlValue &operator[](ControlId id); ControlValue &operator[](const ControlInfo *info) { return controls_[info]; } void update(const ControlList &list); |