mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 02:18:03 +02:00
proxy: subclass from WpObject to allow attaching interfaces dynamically
This commit is contained in:
parent
ce7f9002cd
commit
87d60a80aa
2 changed files with 3 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ enum {
|
|||
|
||||
static guint signals[N_SIGNALS];
|
||||
|
||||
G_DEFINE_TYPE (WpProxy, wp_proxy, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE (WpProxy, wp_proxy, wp_object_get_type ());
|
||||
|
||||
static void
|
||||
spa_dict_to_hashtable (const struct spa_dict * dict, GHashTable * htable)
|
||||
|
|
|
|||
|
|
@ -9,13 +9,14 @@
|
|||
#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, GObject)
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue