mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 08:35:07 +03:00
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 <laurent.pinchart@ideasonboard.com> [Move all internal fields to Request::Private and remove friend declaration] Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
6705596e29
commit
db37335ee0
6 changed files with 219 additions and 108 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue