37 lines
838 B
C
37 lines
838 B
C
/* WirePlumber
|
|
*
|
|
* Copyright © 2019 Collabora Ltd.
|
|
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
#ifndef __WP_PROXY_H__
|
|
#define __WP_PROXY_H__
|
|
|
|
#include "object.h"
|
|
#include "proxy-registry.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
struct pw_proxy;
|
|
|
|
G_DECLARE_FINAL_TYPE (WpProxy, wp_proxy, WP, PROXY, WpObject)
|
|
|
|
guint32 wp_proxy_get_id (WpProxy * self);
|
|
guint32 wp_proxy_get_parent_id (WpProxy * self);
|
|
guint32 wp_proxy_get_spa_type (WpProxy * self);
|
|
const gchar * wp_proxy_get_spa_type_string (WpProxy * self);
|
|
|
|
WpProxyRegistry * wp_proxy_get_registry (WpProxy *self);
|
|
|
|
gboolean wp_proxy_is_destroyed (WpProxy * self);
|
|
struct pw_proxy * wp_proxy_get_pw_proxy (WpProxy * self);
|
|
|
|
const gchar * wp_proxy_get_pw_property (WpProxy * self, const gchar * property);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|