|
MythTV master
|
#include "mythlogging.h"#include "mythpowerdbus.h"#include <unistd.h>#include <algorithm>#include <QDBusReply>#include <QDBusUnixFileDescriptor>Go to the source code of this file.
Macros | |
| #define | LOC QString("PowerDBus: ") |
| #define | FREE_SERVICE (QString("org.freedesktop.")) |
| #define | FREE_PATH (QString("/org/freedesktop/")) |
| #define | UPOWER (QString("UPower")) |
| #define | LOGIN1 (QString("login1")) |
| #define | UPOWER_SERVICE (FREE_SERVICE + UPOWER) |
| #define | UPOWER_PATH (FREE_PATH + UPOWER) |
| #define | UPOWER_INTERFACE (UPOWER_SERVICE) |
| #define | LOGIN1_SERVICE (FREE_SERVICE + LOGIN1) |
| #define | LOGIN1_PATH (FREE_PATH + LOGIN1) |
| #define | LOGIN1_INTERFACE (LOGIN1_SERVICE + QString(".Manager")) |
| #define FREE_PATH (QString("/org/freedesktop/")) |
Definition at line 16 of file mythpowerdbus.cpp.
| #define FREE_SERVICE (QString("org.freedesktop.")) |
Definition at line 15 of file mythpowerdbus.cpp.
| #define LOC QString("PowerDBus: ") |
Definition at line 13 of file mythpowerdbus.cpp.
| #define LOGIN1 (QString("login1")) |
Definition at line 18 of file mythpowerdbus.cpp.
| #define LOGIN1_INTERFACE (LOGIN1_SERVICE + QString(".Manager")) |
Definition at line 24 of file mythpowerdbus.cpp.
Definition at line 23 of file mythpowerdbus.cpp.
| #define LOGIN1_SERVICE (FREE_SERVICE + LOGIN1) |
Definition at line 22 of file mythpowerdbus.cpp.
| #define UPOWER (QString("UPower")) |
Definition at line 17 of file mythpowerdbus.cpp.
| #define UPOWER_INTERFACE (UPOWER_SERVICE) |
Definition at line 21 of file mythpowerdbus.cpp.
Definition at line 20 of file mythpowerdbus.cpp.
| #define UPOWER_SERVICE (FREE_SERVICE + UPOWER) |
Definition at line 19 of file mythpowerdbus.cpp.