dbus: refactor WpDBus into a plugin called dbus-connection

Now that we have proper module load order, we can have this shared
dbus connection in a module instead of the library. The module has
to be loaded before any other modules that need it, obviously.
This commit is contained in:
George Kiagiadakis
2023-06-04 22:22:26 +03:00
parent 542e56d9f7
commit add310d9eb
18 changed files with 519 additions and 729 deletions

View File

@@ -0,0 +1,24 @@
/* WirePlumber
*
* Copyright © 2023 Collabora Ltd.
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
*
* SPDX-License-Identifier: MIT
*/
#ifndef __WIREPLUMBER_DBUS_CONNECTION_STATE_H__
#define __WIREPLUMBER_DBUS_CONNECTION_STATE_H__
#include <glib-object.h>
G_BEGIN_DECLS
typedef enum {
WP_DBUS_CONNECTION_STATE_CLOSED = 0,
WP_DBUS_CONNECTION_STATE_CONNECTING,
WP_DBUS_CONNECTION_STATE_CONNECTED,
} WpDBusConnectionState;
G_END_DECLS
#endif