From db37335ee0ee78f7e5562a9617c1b4f17451fc3a Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 18 Oct 2021 14:54:31 +0300 Subject: libcamera: request: Make Request class Extensible Implement the D-Pointer design pattern in the Request class to allow changing internal data without affecting the public ABI. Move the internal fields that are not needed to implement the public API to the Request::Private class already. This allows to remove the friend class declaration for the PipelineHandler class, which can now use the Request::Private API. Signed-off-by: Laurent Pinchart [Move all internal fields to Request::Private and remove friend declaration] Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- include/libcamera/internal/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libcamera/internal/meson.build') diff --git a/include/libcamera/internal/meson.build b/include/libcamera/internal/meson.build index a96bbb95..c9e055d4 100644 --- a/include/libcamera/internal/meson.build +++ b/include/libcamera/internal/meson.build @@ -35,6 +35,7 @@ libcamera_internal_headers = files([ 'pipeline_handler.h', 'process.h', 'pub_key.h', + 'request.h', 'source_paths.h', 'sysfs.h', 'v4l2_device.h', -- cgit v1.2.1