diff options
Diffstat (limited to 'include/libcamera/camera.h')
-rw-r--r-- | include/libcamera/camera.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h index ef6a37bb..2fd5870b 100644 --- a/include/libcamera/camera.h +++ b/include/libcamera/camera.h @@ -20,6 +20,7 @@ namespace libcamera { class Buffer; +class FrameBufferAllocator; class PipelineHandler; class Request; @@ -126,6 +127,10 @@ private: bool disconnected_; State state_; + + /* Needed to update allocator_ and to read state_ and activeStreams_. */ + friend class FrameBufferAllocator; + FrameBufferAllocator *allocator_; }; } /* namespace libcamera */ |