diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-03-15 18:22:14 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-03-16 11:45:24 +0900 |
commit | 0d0ac3cb132ec5aa1fd7ba7bc0c5b50c139049ba (patch) | |
tree | 4961b3327c376e463c934c11e5da05d304100318 | |
parent | 4671911df040aeb3fdda07ae7cd2ce41eb6421cd (diff) |
ipa: ipa_interface: Add comment to defend the forward-declaration
Any struct that is defined in core.mojom with the skipHeader tag needs
to be present in ipa_interface.h, either forward-declared or #included.
Add a comment so that, in the future, people don't try to send patches
removing the seemingly unused forward-declaration.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | include/libcamera/ipa/ipa_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h index 47f81d1d..5d99e2cf 100644 --- a/include/libcamera/ipa/ipa_interface.h +++ b/include/libcamera/ipa/ipa_interface.h @@ -20,6 +20,11 @@ namespace libcamera { +/* + * Structs that are defined in core.mojom and have the skipHeader tag must be + * forward-declared or #included here. + */ + struct CameraSensorInfo; class IPAInterface |