DBus Example Code
I’m trying to learn to use DBus GLib API in C and found it difficult to get good documentation or a tutorial easily. The D-Bus Tutorial will help you write the simplest possible DBus program and then leaves you! Atleast, so I felt. So here’s some code that I wrote to illustrate subscribing to remote signals using DBus. I’m a newbie programmer, so please suggest better code and help me!
You can find the code here: Signals with DBus.
Sorry for the inconvenience of having it as .odt – wordpress doesn’t allow extensions like .txt or .cpp. However the file doesn’t have any formatting and you can just open it with any text editor, or mv it to a .cpp