-
Notifications
You must be signed in to change notification settings - Fork 1
/
driver.h
31 lines (22 loc) · 958 Bytes
/
driver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once
#include <gio/gio.h>
G_BEGIN_DECLS
#define LIQUID_TYPE_DRIVER (liquid_driver_get_type())
G_DECLARE_DERIVABLE_TYPE(LiquidDriver, liquid_driver, LIQUID, DRIVER, GDBusObjectSkeleton)
struct _LiquidDriverClass
{
GDBusObjectSkeletonClass parent_class;
};
GDBusObjectSkeleton *
liquid_driver_add_channel(LiquidDriver *driver, const gchar *name);
typedef void (*LiquidDriverForEachChannelCallback)(LiquidDriver *driver,
const gchar *name,
GDBusObjectSkeleton *channel,
gpointer user_data);
void
liquid_driver_for_each_channel(LiquidDriver *driver,
LiquidDriverForEachChannelCallback callback,
gpointer user_data);
void
liquid_driver_export(LiquidDriver *driver, GDBusObjectManagerServer *object_manager_server);
G_END_DECLS