#include <sbDBus.h>
This class provides support for D-Bus messages.
Definition at line 69 of file sbDBus.h.
sbDBusMessage::sbDBusMessage |
( |
DBusMessage * |
aMessage = NULL | ) |
|
|
inline |
Construct a Songbird D-Bus message object using the base D-Bus data record specified by aMessage.
Definition at line 127 of file sbDBus.h.
sbDBusMessage::~sbDBusMessage |
( |
| ) |
|
|
virtual |
Destroy the Songbird D-Bus message object.
Definition at line 137 of file sbDBus.cpp.
void sbDBusMessage::Assign |
( |
DBusMessage * |
aMessage | ) |
|
Assign the base D-Bus message specified by aMessage to the Songbird D-Bus message object. Unreference any base D-Bus message currently assigned.
- Parameters
-
aMessage | Base D-Bus message to assign. |
Definition at line 99 of file sbDBus.cpp.
DBusMessage* sbDBusMessage::get |
( |
| ) |
const |
|
inline |
Return the base D-Bus message data record.
- Returns
- Base D-Bus message data record.
Definition at line 118 of file sbDBus.h.
nsresult sbDBusMessage::GetArgs |
( |
int |
aFirstArgType, |
|
|
|
... |
|
) |
| |
Get the variable message arguments specified by aFirstArgType and subsequent arguments. See documentation for dbus_message_get_args.
- Parameters
-
aFirstArgType,... | List of arguments to get. |
Definition at line 116 of file sbDBus.cpp.
nsresult sbDBusMessage::NewMethodCall |
( |
sbDBusMessage ** |
aMessage, |
|
|
const char * |
aDestination, |
|
|
const char * |
aPath, |
|
|
const char * |
aInterface, |
|
|
const char * |
aMethod |
|
) |
| |
|
static |
Create and return in aMessage a new Songbird D-Bus method call message object with the destination, path, interface, and method specified by aDestination, aPath, aInterface, and aMethod.
- Parameters
-
aMessage | Returned, created message. |
aDestination | Message destination. |
aPath | Message path. |
aInterface | Message interface. |
aMethod | Message method. |
Definition at line 65 of file sbDBus.cpp.
The documentation for this class was generated from the following files:
- /home/martin/dev/nightingale-hacking/components/integration/src/linux/sbDBus.h
- /home/martin/dev/nightingale-hacking/components/integration/src/linux/sbDBus.cpp