The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
dbus_notification.cpp File Reference
#include "desktop/dbus_notification.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include <dbus/dbus.h>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <cstdlib>
#include <string>
Include dependency graph for dbus_notification.cpp:

Go to the source code of this file.

Namespaces

 dbus
 

Macros

#define ERR_DU   LOG_STREAM(err, log_desktop)
 
#define LOG_DU   LOG_STREAM(info, log_desktop)
 
#define DBG_DU   LOG_STREAM(info, log_desktop)
 

Functions

void dbus::send_notification (const std::string &owner, const std::string &message, bool with_history)
 

Variables

static lg::log_domain log_desktop ("desktop")
 
const size_t dbus::MAX_MSG_LINES = 5
 

Macro Definition Documentation

#define DBG_DU   LOG_STREAM(info, log_desktop)

Definition at line 38 of file dbus_notification.cpp.

#define ERR_DU   LOG_STREAM(err, log_desktop)

Definition at line 36 of file dbus_notification.cpp.

Referenced by dbus::send_notification().

#define LOG_DU   LOG_STREAM(info, log_desktop)

Definition at line 37 of file dbus_notification.cpp.

Variable Documentation

lg::log_domain log_desktop("desktop")
static