proxy: subclass from WpObject to allow attaching interfaces dynamically
This commit is contained in:
@@ -50,7 +50,7 @@ enum {
|
|||||||
|
|
||||||
static guint signals[N_SIGNALS];
|
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
|
static void
|
||||||
spa_dict_to_hashtable (const struct spa_dict * dict, GHashTable * htable)
|
spa_dict_to_hashtable (const struct spa_dict * dict, GHashTable * htable)
|
||||||
|
@@ -9,13 +9,14 @@
|
|||||||
#ifndef __WP_PROXY_H__
|
#ifndef __WP_PROXY_H__
|
||||||
#define __WP_PROXY_H__
|
#define __WP_PROXY_H__
|
||||||
|
|
||||||
|
#include "object.h"
|
||||||
#include "proxy-registry.h"
|
#include "proxy-registry.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
struct pw_proxy;
|
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_id (WpProxy * self);
|
||||||
guint32 wp_proxy_get_parent_id (WpProxy * self);
|
guint32 wp_proxy_get_parent_id (WpProxy * self);
|
||||||
|
Reference in New Issue
Block a user