summaryrefslogtreecommitdiff
path: root/lib/dbus/meson.build
blob: d199e7fdec81f65793e9723cda867655a6c623ac (plain)
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
32
33
34
35
36
37
sources += gnome.gdbus_codegen(
  'server',
  'com.github.hannesschulze.foobar.xml',
  namespace: 'Foobar',
  annotations: [
    ['com.github.hannesschulze.foobar.Server', 'org.gtk.GDBus.C.Name', 'Server'],
  ],
)

sources += gnome.gdbus_codegen(
  'notifications',
  'org.freedesktop.Notifications.xml',
  namespace: 'Foobar',
  annotations: [
    ['org.freedesktop.Notifications', 'org.gtk.GDBus.C.Name', 'Notifications'],
  ],
)

sources += gnome.gdbus_codegen(
  'upower',
  'org.freedesktop.UPower.xml',
  namespace: 'Foobar',
  annotations: [
    ['org.freedesktop.UPower.Device', 'org.gtk.GDBus.C.Name', 'UPowerDevice'],
  ],
)

sources += gnome.gdbus_codegen(
  'bluez',
  'org.bluez.xml',
  namespace: 'Foobar',
  annotations: [
    ['org.bluez.Adapter1', 'org.gtk.GDBus.C.Name', 'BluezAdapter'],
    ['org.bluez.Device1', 'org.gtk.GDBus.C.Name', 'BluezDevice'],
    ['org.bluez.AgentManager1', 'org.gtk.GDBus.C.Name', 'BluezAgentManager'],
  ],
)