mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-21 06:59:59 -05:00
dbus: Three entangled changes:
* Make the dbus object constructors take a pa_dbusiface_core pointer as an argument. Remove the path_prefix argument. * Expose the core object path as a constant in protocol-dbus.h. * Move the core interface name constant from iface-core.h to protocol-dbus.h.
This commit is contained in:
parent
1457df40ee
commit
fcf68752e6
17 changed files with 113 additions and 91 deletions
|
|
@ -29,14 +29,15 @@
|
|||
*/
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/protocol-dbus.h>
|
||||
|
||||
#include "iface-core.h"
|
||||
|
||||
#define PA_DBUSIFACE_MEMSTATS_INTERFACE PA_DBUSIFACE_CORE_INTERFACE ".Memstats"
|
||||
#define PA_DBUSIFACE_MEMSTATS_INTERFACE PA_DBUS_CORE_INTERFACE ".Memstats"
|
||||
|
||||
typedef struct pa_dbusiface_memstats pa_dbusiface_memstats;
|
||||
|
||||
pa_dbusiface_memstats *pa_dbusiface_memstats_new(pa_core *core, const char *path_prefix);
|
||||
pa_dbusiface_memstats *pa_dbusiface_memstats_new(pa_dbusiface_core *dbus_core, pa_core *core);
|
||||
void pa_dbusiface_memstats_free(pa_dbusiface_memstats *m);
|
||||
|
||||
const char *pa_dbusiface_memstats_get_path(pa_dbusiface_memstats *m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue