Functions | |
void | send_notification (const std::string &owner, const std::string &message, bool with_history) |
bool | does_device_have_battery () |
double | get_battery_percentage () |
Variables | |
const std::size_t | MAX_MSG_LINES = 5 |
bool dbus::does_device_have_battery | ( | ) |
Definition at line 307 of file dbus_features.cpp.
Referenced by desktop::battery_info::does_device_have_battery().
double dbus::get_battery_percentage | ( | ) |
Definition at line 312 of file dbus_features.cpp.
Referenced by desktop::battery_info::get_battery_percentage().
void dbus::send_notification | ( | const std::string & | owner, |
const std::string & | message, | ||
bool | with_history | ||
) |
Definition at line 266 of file dbus_features.cpp.
References ERR_DU, i, and MAX_MSG_LINES.
const std::size_t dbus::MAX_MSG_LINES = 5 |
Definition at line 264 of file dbus_features.cpp.
Referenced by send_notification().