libcamera: Move extensible to class
The Extensible concept is a generic Class helper. To prepare for further class helper additions, move the specific extensible implementation and header to a more generic class header and source. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
#include <libcamera/class.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/extensible.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/request.h>
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/extensible.h>
|
||||
#include <libcamera/class.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/*
|
||||
* Copyright (C) 2020, Google Inc.
|
||||
*
|
||||
* extensible.h - Utilities to create extensible public classes with stable ABIs
|
||||
* class.h - Utilities and helpers for classes
|
||||
*/
|
||||
#ifndef __LIBCAMERA_EXTENSIBLE_H__
|
||||
#define __LIBCAMERA_EXTENSIBLE_H__
|
||||
#ifndef __LIBCAMERA_CLASS_H__
|
||||
#define __LIBCAMERA_CLASS_H__
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -84,4 +84,4 @@ private:
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_EXTENSIBLE_H__ */
|
||||
#endif /* __LIBCAMERA_CLASS_H__ */
|
||||
@@ -5,9 +5,9 @@ libcamera_public_headers = files([
|
||||
'buffer.h',
|
||||
'camera.h',
|
||||
'camera_manager.h',
|
||||
'class.h',
|
||||
'compiler.h',
|
||||
'controls.h',
|
||||
'extensible.h',
|
||||
'file_descriptor.h',
|
||||
'framebuffer_allocator.h',
|
||||
'geometry.h',
|
||||
|
||||
Reference in New Issue
Block a user