Open main menu

CDOT Wiki β

Changes

D-Bus and other Linux desktop integration improvements

211 bytes added, 13:43, 15 December 2006
DBUS Tutorial and info
I'll walk through a simple example of sending a signal to give you an example of what its like.
 
It would be good if you know how to connect to databases. The concepts are similar, but rather than connecting to a database you connect to a bus.
First, you either need to use an IDE like Anjuta or learn how Make and its syntax.
DBusMessageIter args;
const char* sigvalue = "Hello World";
printf("Attempting to create a new Signal.\n"); msg = dbus_message_new_signal("/com/halcyoncomplex/test", // object name of the signal "com.halcyoncomplex.test", // interface name of the signal "test"); // name of the signal
if (NULL == msg)
{
1
edit