From: Andreas V. <li...@br...> - 2008-12-04 20:25:08
|
Am Tue, 2 Dec 2008 22:37:29 +0100 schrieb Mark: > Hey, > > First: i posted this message on the normal dbus list as well before i > knew that this list was around. Sorry for that. > > I'm currently trying to figure out how i can make a simple DBus > program with the c++ wrapper. > I have no previous dbus experience or anythiong dbus related. > > using the c api from dbus is not an option for me. > > What i try to do (just as a begin) is reading out just some message > from dbus (lets say the currently played song in Rhythmbox or just any > app that sends something to dbus). > i just can't find any examples of how to use the c++ wrapper and read > a dbus message... > > I hope anyone can help me with this. Hello Mark, there're several examples beside the dbus-c++ source: examples> ls echo glib Makefile Makefile.in properties_get_set ecore hal Makefile.am properties The "ecore" example isn't in the main repo. But you should start with the "echo" example to understand its basic usage. If you got this running and understood the basic usage maybe you could ask more detailed questions. Feel free to ask if there're still questions... regards Andreas |