16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_DBUSCONNECTION_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_DBUSCONNECTION_H_ 26 namespace bluetoothImplementations {
45 static std::unique_ptr<DBusConnection>
create(GBusType connectionType = G_BUS_TYPE_SYSTEM);
63 const char* serviceName,
64 const char* interfaceName,
66 const char* firstArgumentFilter,
67 GDBusSignalCallback callback,
89 explicit DBusConnection(GDBusConnection* connection, GBusType connectionType);
92 GDBusConnection* m_connection;
95 const GBusType m_connectionType;
98 std::mutex m_subscriptionsMutex;
101 std::vector<guint> m_subscriptions;
108 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_DBUSCONNECTION_H_ unsigned int subscribeToSignal(const char *serviceName, const char *interfaceName, const char *member, const char *firstArgumentFilter, GDBusSignalCallback callback, gpointer userData)
static std::unique_ptr< DBusConnection > create(GBusType connectionType=G_BUS_TYPE_SYSTEM)
GDBusConnection * getGDBusConnection()
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: DBusConnection.h:32