summaryrefslogtreecommitdiff
path: root/src/android/camera_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_device.h')
-rw-r--r--src/android/camera_device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/android/camera_device.h b/src/android/camera_device.h
index bce1cfbc..9d5c6952 100644
--- a/src/android/camera_device.h
+++ b/src/android/camera_device.h
@@ -16,11 +16,12 @@
#include <libcamera/request.h>
#include <libcamera/stream.h>
+#include "libcamera/internal/log.h"
#include "libcamera/internal/message.h"
class CameraMetadata;
-class CameraDevice
+class CameraDevice : protected libcamera::Loggable
{
public:
CameraDevice(unsigned int id, const std::shared_ptr<libcamera::Camera> &camera);
@@ -39,6 +40,9 @@ public:
int processCaptureRequest(camera3_capture_request_t *request);
void requestComplete(libcamera::Request *request);
+protected:
+ std::string logPrefix() const override;
+
private:
struct Camera3RequestDescriptor {
Camera3RequestDescriptor(unsigned int frameNumber,