[libcamera-devel] [PATCH 0/3] libcamera: Mark controls and property accessors as const operations
Niklas Söderlund
niklas.soderlund at ragnatech.se
Thu Aug 6 14:53:27 CEST 2020
Hi,
This small series marks aims to make the Camera::controls() and
Camera::properties() methods const operations in order to allow them to
be called on a const Camera *ptr.
It also aims to make our public API a bit stricter and clearer which is
always nice.
Niklas Söderlund (3):
libcamera: pipeline_handler: Make cameraData() a const operation
libcamera: pipeline_handler: Mark controls() and properties() as const
operations
libcamera: camera: Mark controls() and properties() as const
operations
include/libcamera/camera.h | 4 ++--
include/libcamera/internal/pipeline_handler.h | 6 +++---
src/libcamera/camera.cpp | 4 ++--
src/libcamera/pipeline_handler.cpp | 8 ++++----
4 files changed, 11 insertions(+), 11 deletions(-)
--
2.28.0
More information about the libcamera-devel
mailing list