Thread
:
Help with creating daemon for n900
View Single Post
qwerty12
2010-03-08 , 17:23
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
8
Originally Posted by
krk969
if you are starting off, its much simpler to read and write
**** no!
@jaeezzy
Here's an example, using the lovely DBus-GLib bindings, that gets the current state and prints it out:
http://slexy.org/view/s287btiNxS
As you can see, I'm not in the habit of commenting my code. I'll try and explain anything asked, but I'm no expert on D-Bus.
When I've finished it, I'll post again with another sample that automatically prints out the state when it changes.
Last edited by qwerty12; 2010-03-08 at
17:28
.
Quote & Reply
|
The Following User Says Thank You to qwerty12 For This Useful Post:
jaeezzy
qwerty12
View Public Profile
Find all posts by qwerty12