MythTV  master
Macros
mythpowerdbus.cpp File Reference
#include "mythlogging.h"
#include "mythpowerdbus.h"
#include <unistd.h>
#include <algorithm>
#include <QDBusReply>
#include <QDBusUnixFileDescriptor>
Include dependency graph for mythpowerdbus.cpp:

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"))
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("PowerDBus: ")

Definition at line 13 of file mythpowerdbus.cpp.

◆ FREE_SERVICE

#define FREE_SERVICE   (QString("org.freedesktop."))

Definition at line 15 of file mythpowerdbus.cpp.

◆ FREE_PATH

#define FREE_PATH   (QString("/org/freedesktop/"))

Definition at line 16 of file mythpowerdbus.cpp.

◆ UPOWER

#define UPOWER   (QString("UPower"))

Definition at line 17 of file mythpowerdbus.cpp.

◆ LOGIN1

#define LOGIN1   (QString("login1"))

Definition at line 18 of file mythpowerdbus.cpp.

◆ UPOWER_SERVICE

#define UPOWER_SERVICE   (FREE_SERVICE + UPOWER)

Definition at line 19 of file mythpowerdbus.cpp.

◆ UPOWER_PATH

#define UPOWER_PATH   (FREE_PATH + UPOWER)

Definition at line 20 of file mythpowerdbus.cpp.

◆ UPOWER_INTERFACE

#define UPOWER_INTERFACE   (UPOWER_SERVICE)

Definition at line 21 of file mythpowerdbus.cpp.

◆ LOGIN1_SERVICE

#define LOGIN1_SERVICE   (FREE_SERVICE + LOGIN1)

Definition at line 22 of file mythpowerdbus.cpp.

◆ LOGIN1_PATH

#define LOGIN1_PATH   (FREE_PATH + LOGIN1)

Definition at line 23 of file mythpowerdbus.cpp.

◆ LOGIN1_INTERFACE

#define LOGIN1_INTERFACE   (LOGIN1_SERVICE + QString(".Manager"))

Definition at line 24 of file mythpowerdbus.cpp.