В Вск, 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 

Attachment: signature.asc
Description: Эта часть сообщения подписана цифровой подписью

_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
  • Dbus Howto Dennis Hilmar
    • Re: Dbus Howto Nickolay V. Shmyrev

Reply via email to