mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
libcamera: camera: Add a const version of the pipe() function
Allow access to the pipeline handler on a const instance of Camera::Private. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
fd71913d70
commit
437ca585df
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
~Private();
|
||||
|
||||
PipelineHandler *pipe() { return pipe_.get(); }
|
||||
const PipelineHandler *pipe() const { return pipe_.get(); }
|
||||
|
||||
std::list<Request *> queuedRequests_;
|
||||
ControlInfoMap controlInfo_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue