Songbird D-Bus Service Definitions. More...
#include <nsStringGlue.h>#include <dbus/dbus.h>Go to the source code of this file.
Classes | |
| class | sbDBusMessage |
| class | sbDBusConnection |
| class | sbDBusError |
Macros | |
| #define | SB_DBUS_ENSURE_SUCCESS_BODY(aError, aReturnValue) NS_WARNING("SB_DBUS_ENSURE_SUCCESS(" #aError ", " #aReturnValue ") failed"); |
| #define | SB_DBUS_ENSURE_SUCCESS(aError, aReturnValue) |
Songbird D-Bus Service Definitions.
Definition in file sbDBus.h.
| #define SB_DBUS_ENSURE_SUCCESS | ( | aError, | |
| aReturnValue | |||
| ) |
Ensure that the D-Bus error specified by aError indicates success. If it doesn't post a warning with the D-Bus error message and return from the current function with the return value specified by aReturnValue.
| aError | D-Bus error. |
| aReturnValue | Return value expression. |
| #define SB_DBUS_ENSURE_SUCCESS_BODY | ( | aError, | |
| aReturnValue | |||
| ) | NS_WARNING("SB_DBUS_ENSURE_SUCCESS(" #aError ", " #aReturnValue ") failed"); |