aboutsummaryrefslogtreecommitdiff
path: root/systray/helpers.h
blob: 2c592e02e3a6a7b83b2c91a5d350c970f16c0d9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef HELPERS_H
#define HELPERS_H

#include <dbus/dbus.h>

typedef void (*PropHandler)(DBusPendingCall *pcall, void *data);

int request_property (DBusConnection *conn, const char *busname,
                      const char *busobj, const char *prop, const char *iface,
                      PropHandler handler, void *data);

#endif /* HELPERS_H */