Move the Slot* classes to bound_method.{h,cpp} and rename them to
Bound*Method*. They will be reused to implement asynchronous method
invocation similar to cross-thread signal delivery.
This is only a move and rename, no functional changes are included.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
43 lines
1.3 KiB
Meson
43 lines
1.3 KiB
Meson
libcamera_api = files([
|
|
'bound_method.h',
|
|
'buffer.h',
|
|
'camera.h',
|
|
'camera_manager.h',
|
|
'control_ids.h',
|
|
'controls.h',
|
|
'event_dispatcher.h',
|
|
'event_notifier.h',
|
|
'geometry.h',
|
|
'ipa/ipa_interface.h',
|
|
'ipa/ipa_module_info.h',
|
|
'logging.h',
|
|
'object.h',
|
|
'request.h',
|
|
'signal.h',
|
|
'stream.h',
|
|
'timer.h',
|
|
])
|
|
|
|
gen_header = files('gen-header.sh')
|
|
|
|
libcamera_h = custom_target('gen-header',
|
|
input : 'meson.build',
|
|
output : 'libcamera.h',
|
|
command : [gen_header, meson.current_source_dir(), '@OUTPUT@'],
|
|
install : true,
|
|
install_dir : 'include/libcamera')
|
|
|
|
version = libcamera_version.split('.')
|
|
libcamera_version_config = configuration_data()
|
|
libcamera_version_config.set('LIBCAMERA_VERSION_MAJOR', version[0])
|
|
libcamera_version_config.set('LIBCAMERA_VERSION_MINOR', version[1])
|
|
libcamera_version_config.set('LIBCAMERA_VERSION_PATCH', version[2])
|
|
|
|
configure_file(input : 'version.h.in',
|
|
output : 'version.h',
|
|
configuration : libcamera_version_config,
|
|
install_dir : 'include/libcamera')
|
|
|
|
install_headers(libcamera_api,
|
|
subdir : 'libcamera')
|