summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/android/camera_buffer.h3
-rw-r--r--src/android/camera_capabilities.h3
-rw-r--r--src/android/camera_hal_config.h2
-rw-r--r--src/libcamera/base/class.cpp (renamed from src/libcamera/class.cpp)2
-rw-r--r--src/libcamera/base/meson.build1
-rw-r--r--src/libcamera/meson.build1
6 files changed, 7 insertions, 5 deletions
diff --git a/src/android/camera_buffer.h b/src/android/camera_buffer.h
index c88124b2..e850c4e3 100644
--- a/src/android/camera_buffer.h
+++ b/src/android/camera_buffer.h
@@ -9,7 +9,8 @@
#include <hardware/camera3.h>
-#include <libcamera/class.h>
+#include <libcamera/base/class.h>
+
#include <libcamera/span.h>
class CameraBuffer final : public libcamera::Extensible
diff --git a/src/android/camera_capabilities.h b/src/android/camera_capabilities.h
index f511607b..4f5be825 100644
--- a/src/android/camera_capabilities.h
+++ b/src/android/camera_capabilities.h
@@ -11,8 +11,9 @@
#include <memory>
#include <vector>
+#include <libcamera/base/class.h>
+
#include <libcamera/camera.h>
-#include <libcamera/class.h>
#include <libcamera/formats.h>
#include <libcamera/geometry.h>
diff --git a/src/android/camera_hal_config.h b/src/android/camera_hal_config.h
index 97dc69c1..a79d5d6c 100644
--- a/src/android/camera_hal_config.h
+++ b/src/android/camera_hal_config.h
@@ -10,7 +10,7 @@
#include <map>
#include <string>
-#include <libcamera/class.h>
+#include <libcamera/base/class.h>
struct CameraConfigData {
int facing = -1;
diff --git a/src/libcamera/class.cpp b/src/libcamera/base/class.cpp
index 28c35633..165beafc 100644
--- a/src/libcamera/class.cpp
+++ b/src/libcamera/base/class.cpp
@@ -5,7 +5,7 @@
* class.cpp - Utilities and helpers for classes
*/
-#include <libcamera/class.h>
+#include <libcamera/base/class.h>
/**
* \file class.h
diff --git a/src/libcamera/base/meson.build b/src/libcamera/base/meson.build
index 6d9ec374..302a2886 100644
--- a/src/libcamera/base/meson.build
+++ b/src/libcamera/base/meson.build
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: CC0-1.0
libcamera_base_sources = files([
+ 'class.cpp',
'utils.cpp',
])
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index b70688d8..e1252ce4 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -10,7 +10,6 @@ libcamera_sources = files([
'camera_manager.cpp',
'camera_sensor.cpp',
'camera_sensor_properties.cpp',
- 'class.cpp',
'controls.cpp',
'control_serializer.cpp',
'control_validator.cpp',