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>
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
*
|
||||
* file.h - File I/O operations
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_FILE_H__
|
||||
#define __LIBCAMERA_INTERNAL_FILE_H__
|
||||
#ifndef __LIBCAMERA_BASE_FILE_H__
|
||||
#define __LIBCAMERA_BASE_FILE_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
|
||||
@@ -75,4 +76,4 @@ private:
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_FILE_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_FILE_H__ */
|
||||
@@ -7,6 +7,7 @@ libcamera_base_headers = files([
|
||||
'class.h',
|
||||
'event_dispatcher.h',
|
||||
'event_dispatcher_poll.h',
|
||||
'file.h',
|
||||
'log.h',
|
||||
'message.h',
|
||||
'object.h',
|
||||
|
||||
@@ -23,7 +23,6 @@ libcamera_internal_headers = files([
|
||||
'device_enumerator_sysfs.h',
|
||||
'device_enumerator_udev.h',
|
||||
'event_notifier.h',
|
||||
'file.h',
|
||||
'formats.h',
|
||||
'ipa_manager.h',
|
||||
'ipa_module.h',
|
||||
|
||||
Reference in New Issue
Block a user