libcamera: Move file_descriptor.h to base/

The FileDescriptor class is a generic helper that matches the criteria
for the base library. Move it there.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2021-11-28 05:07:54 +02:00
parent 6b1e256934
commit 6c6acaa7ea
14 changed files with 13 additions and 16 deletions

View File

@@ -11,6 +11,7 @@ libcamera_base_headers = files([
'event_dispatcher_poll.h',
'event_notifier.h',
'file.h',
'file_descriptor.h',
'flags.h',
'log.h',
'message.h',

View File

@@ -13,10 +13,9 @@
#include <vector>
#include <libcamera/base/class.h>
#include <libcamera/base/file_descriptor.h>
#include <libcamera/base/span.h>
#include <libcamera/file_descriptor.h>
namespace libcamera {
class Request;

View File

@@ -9,10 +9,9 @@
#include <vector>
#include <libcamera/base/file_descriptor.h>
#include <libcamera/base/signal.h>
#include <libcamera/file_descriptor.h>
#include "libcamera/internal/ipc_unixsocket.h"
namespace libcamera {

View File

@@ -6,7 +6,6 @@ libcamera_public_headers = files([
'camera.h',
'camera_manager.h',
'controls.h',
'file_descriptor.h',
'framebuffer.h',
'framebuffer_allocator.h',
'geometry.h',