wp: Add a WpImplModule for loading modules in WirePlumber context
This commit is contained in:
34
lib/wp/module.h
Normal file
34
lib/wp/module.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/* WirePlumber
|
||||
*
|
||||
* Copyright © 2021 Asymptotic
|
||||
* @author Arun Raghavan <arun@asymptotic.io>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef __WIREPLUMBER_MODULE_H__
|
||||
#define __WIREPLUMBER_MODULE_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "core.h"
|
||||
#include "defs.h"
|
||||
#include "properties.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/*!
|
||||
* \brief The WpImplModule GType
|
||||
* \ingroup wpimplmodule
|
||||
*/
|
||||
#define WP_TYPE_IMPL_MODULE (wp_impl_module_get_type())
|
||||
WP_API
|
||||
G_DECLARE_FINAL_TYPE (WpImplModule, wp_impl_module, WP, IMPL_MODULE, GObject);
|
||||
|
||||
WP_API
|
||||
WpImplModule * wp_impl_module_load (WpCore * core, const gchar * name,
|
||||
const gchar * arguments, WpProperties * properties);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __WIREPLUMBER_MODULE_H__ */
|
Reference in New Issue
Block a user