9 typedef void* pnd_dbusnotify_handle;
11 /* An option is to use dbus for a lot of things, or even specific things such as
12 * watching for media to be inserted or ejected; one could supplement such info
13 * with inotify for file-moves.
14 * Really, we need a serious model for watching and receiving system state changes
15 * but I started simple, so going to try to keep it simple. For now.
18 /* must invoke this to obtain a handle; other notify functions require it of course.
19 * Returns NULL on failure.
21 pnd_dbusnotify_handle pnd_dbusnotify_init ( void );
25 void pnd_dbusnotify_shutdown ( pnd_dbusnotify_handle h );
28 * I'd like to have a real dbus-listener here using libdbus/whatever, but for now
29 * I'm going to implement a lame little hack to use dbus-monitor, as time is tight!
33 unsigned char pnd_dbusnotify_rediscover_p ( pnd_dbusnotify_handle h );