mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 02:15:05 +03:00
libcamera: controls: Make ControList constructor public
We need to construct empty ControlList objects to serialization. Make the constructor public. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
81493f36e1
commit
113cfb1e08
2 changed files with 12 additions and 0 deletions
|
@ -189,6 +189,7 @@ private:
|
|||
using ControlListMap = std::unordered_map<unsigned int, ControlValue>;
|
||||
|
||||
public:
|
||||
ControlList();
|
||||
ControlList(const ControlIdMap &idmap, ControlValidator *validator = nullptr);
|
||||
ControlList(const ControlInfoMap &info, ControlValidator *validator = nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue