integrate with my own mainloop
Richard Hughes
hughsient at gmail.com
Fri Sep 30 00:07:41 PDT 2005
On Thu, 2005-09-29 at 16:26 -0700, Tom Flynn wrote:
> just took a look at gnome-volume-manager...unfortunately, they call
> dbus_connection_setup_with_g_main() like lshal.c does (g-v-m uses gtk
> which uses glib if i understand correctly).
glib != gtk. gtk is the graphical toolkit, glib = lots of nice C
funtions.
> I have a command-line app and I wish to be able to run outside of X
> and with the minimum number of libraries possible.
You'll need dbus/dbus.h at least. I use dbus/dbus-glib.h as it's much
nice to integrate with my mainloop. glib isn't such a big dep anyway.
> Hal/DBus looks to be perfect for what I want, if only I can figure out
> how to integrate it with my own mainloop.
Try the g-p-m source.
Richard.
More information about the hal
mailing list