The Battle for Wesnoth  1.15.0-dev
Namespaces | Macros | Functions | Variables
version.cpp File Reference
#include "desktop/version.hpp"
#include "filesystem.hpp"
#include "formatter.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "serialization/unicode.hpp"
#include <cstring>
Include dependency graph for version.cpp:

Go to the source code of this file.

Namespaces

 desktop
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_DU   LOG_STREAM(err, log_desktop)
 
#define LOG_DU   LOG_STREAM(info, log_desktop)
 

Functions

std::string desktop::os_version ()
 Returns a string with the running OS name and version information. More...
 

Variables

static lg::log_domain log_desktop ("desktop")
 

Macro Definition Documentation

◆ ERR_DU

#define ERR_DU   LOG_STREAM(err, log_desktop)

Definition at line 50 of file version.cpp.

Referenced by desktop::os_version().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file version.cpp.

◆ LOG_DU

#define LOG_DU   LOG_STREAM(info, log_desktop)

Definition at line 51 of file version.cpp.

Variable Documentation

◆ log_desktop

lg::log_domain log_desktop("desktop")
static