summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-16 10:34:07 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-25 16:11:10 +0100
commitb304bc013ef8022131ef0a146f20c6bad7ac45d5 (patch)
tree6ec2d13a59fcb1be0e1c7df9c2187edf607b3a6a /test
parent27aff949fbc1b9aabfc594bbfd6f94be55a086ec (diff)
libcamera/base: Move File to base library
The File abstraction is a base helper and not part of the libcamera API. Move it to to allow usage by users of the base library. Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r--test/file.cpp2
-rw-r--r--test/hotplug-cameras.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/file.cpp b/test/file.cpp
index b80667ae..d768e323 100644
--- a/test/file.cpp
+++ b/test/file.cpp
@@ -13,7 +13,7 @@
#include <sys/types.h>
#include <unistd.h>
-#include "libcamera/internal/file.h"
+#include <libcamera/base/file.h>
#include "test.h"
diff --git a/test/hotplug-cameras.cpp b/test/hotplug-cameras.cpp
index bb160537..df560403 100644
--- a/test/hotplug-cameras.cpp
+++ b/test/hotplug-cameras.cpp
@@ -15,11 +15,10 @@
#include <libcamera/camera_manager.h>
#include <libcamera/base/event_dispatcher.h>
+#include <libcamera/base/file.h>
#include <libcamera/base/thread.h>
#include <libcamera/base/timer.h>
-#include "libcamera/internal/file.h"
-
#include "test.h"
using namespace libcamera;