The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
dbus_notification.cpp File Reference
#include "dbus_notification.hpp"
#include "global.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include <dbus/dbus.h>
#include <boost/cstdint.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <stdlib.h>
#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 42 of file dbus_notification.cpp.

#define ERR_DU   LOG_STREAM(err, log_desktop)

Definition at line 40 of file dbus_notification.cpp.

Referenced by dbus::send_notification().

#define LOG_DU   LOG_STREAM(info, log_desktop)

Definition at line 41 of file dbus_notification.cpp.

Variable Documentation

lg::log_domain log_desktop("desktop")
static