Re: Dbus Howto

"Nickolay V. Shmyrev" <[email protected]>
Newsgroups gmane.comp.gnome.devel
Message-ID <[email protected]>
В Вск, 12/10/2008 в 16:21 +0200, Dennis Hilmar пишет:
> Hi
> 
> It seems that python is the most used language when dealing with dbus
> (I googled). But this is not good news for an embedded developer, who
> has dedicated his life to C... 
> 
> I was wondering if anyone knows about a good C programming DBus howto?
> I will make a blog about my discoveries...
> 
Hm, there are a lot of docs here:

http://www.freedesktop.org/wiki/Software/dbus#head-f208dd08ee19201b857adb8c80c8e02a9ccf9ff1

For example this one mentions low-level API

http://www.redhat.com/magazine/003jan05/features/dbus/

Also, there is dbus mailing list on freedesktop.org, you can always ask
quesitons there.

> What I would really like to know is how to find the services I need in
> my programs. Fx right now I just want the simplest way of detecting a
> new USB device through Hal.
> 
It's better to use libhal here, not dbus interface or check libhal
sources if you need something simplier. For example check API on

libhal_ctx_set_device_added

_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkjzrJIACgkQLCDh4YwOt9lh+QCgoH4Fsg23Dymh62ZOFO0oNF50
pt0AoI7Z3e1AJklZKdYb+LCFg+wiWt/3
=YGm3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.