
This makes things more consistent and allows us also to add more search paths in the future if necessary. Also, stop using g_module_build_path() because it's deprecated and build the path manually. This obviously is not portable to Windows/Mac or other exotic platforms, but portability is not important at this point. PipeWire is also not portable beyond Linux & BSD.
82 lines
1.7 KiB
C
82 lines
1.7 KiB
C
/* WirePlumber
|
|
*
|
|
* Copyright © 2019 Collabora Ltd.
|
|
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef __WIREPLUMBER_WP_H__
|
|
#define __WIREPLUMBER_WP_H__
|
|
|
|
#include "base-dirs.h"
|
|
#include "client.h"
|
|
#include "component-loader.h"
|
|
#include "conf.h"
|
|
#include "core.h"
|
|
#include "device.h"
|
|
#include "error.h"
|
|
#include "event-dispatcher.h"
|
|
#include "event-hook.h"
|
|
#include "global-proxy.h"
|
|
#include "iterator.h"
|
|
#include "json-utils.h"
|
|
#include "link.h"
|
|
#include "log.h"
|
|
#include "metadata.h"
|
|
#include "module.h"
|
|
#include "node.h"
|
|
#include "object-interest.h"
|
|
#include "object-manager.h"
|
|
#include "object.h"
|
|
#include "plugin.h"
|
|
#include "port.h"
|
|
#include "properties.h"
|
|
#include "proxy.h"
|
|
#include "proxy-interfaces.h"
|
|
#include "session-item.h"
|
|
#include "si-factory.h"
|
|
#include "si-interfaces.h"
|
|
#include "spa-json.h"
|
|
#include "spa-pod.h"
|
|
#include "spa-type.h"
|
|
#include "state.h"
|
|
#include "transition.h"
|
|
#include "wpenums.h"
|
|
#include "wpversion.h"
|
|
#include "factory.h"
|
|
#include "settings.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/*!
|
|
* \ingroup wp
|
|
* Flags for wp_init()
|
|
*/
|
|
typedef enum {
|
|
/*! Initialize PipeWire by calling pw_init() */
|
|
WP_INIT_PIPEWIRE = (1<<0),
|
|
/*! Initialize support for dynamic spa types.
|
|
* See wp_spa_dynamic_type_init() */
|
|
WP_INIT_SPA_TYPES = (1<<1),
|
|
/*! Override PipeWire's logging system with WirePlumber's one */
|
|
WP_INIT_SET_PW_LOG = (1<<2),
|
|
/*! Set wp_log_writer_default() as GLib's default log writer function */
|
|
WP_INIT_SET_GLIB_LOG = (1<<3),
|
|
/*! Initialize all of the above */
|
|
WP_INIT_ALL = 0xf,
|
|
} WpInitFlags;
|
|
|
|
WP_API
|
|
void wp_init (WpInitFlags flags);
|
|
|
|
WP_API
|
|
const char * wp_get_library_version (void);
|
|
|
|
WP_API
|
|
const char * wp_get_library_api_version (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|