The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
filesystem.cpp File Reference

File-IO. More...

#include "filesystem.hpp"
#include "config.hpp"
#include "game_config_view.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "serialization/base64.hpp"
#include "serialization/chrono.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
#include "utils/general.hpp"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/format.hpp>
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/process/search_path.hpp>
#include <algorithm>
#include <cstdlib>
#include <set>
#include <utility>
Include dependency graph for filesystem.cpp:

Go to the source code of this file.

Namespaces

namespace  game_config
 Game configuration data as global variables.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define DBG_FS   LOG_STREAM(debug, log_filesystem)
 
#define LOG_FS   LOG_STREAM(info, log_filesystem)
 
#define WRN_FS   LOG_STREAM(warn, log_filesystem)
 
#define ERR_FS   LOG_STREAM(err, log_filesystem)
 

Variables

static lg::log_domain log_filesystem ("filesystem")
 
std::string game_config::path = ""
 
std::string game_config::default_preferences_path = ""
 
bool game_config::check_migration = false
 
const std::string game_config::observer_team_name = "observer"
 observer team name used for observer team chat
 
int game_config::cache_compression_level = 6
 

Detailed Description

File-IO.

Definition in file filesystem.cpp.

Macro Definition Documentation

◆ DBG_FS

#define DBG_FS   LOG_STREAM(debug, log_filesystem)

Definition at line 90 of file filesystem.cpp.

◆ ERR_FS

#define ERR_FS   LOG_STREAM(err, log_filesystem)

Definition at line 93 of file filesystem.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 20 of file filesystem.cpp.

◆ LOG_FS

#define LOG_FS   LOG_STREAM(info, log_filesystem)

Definition at line 91 of file filesystem.cpp.

◆ WRN_FS

#define WRN_FS   LOG_STREAM(warn, log_filesystem)

Definition at line 92 of file filesystem.cpp.

Variable Documentation

◆ log_filesystem

lg::log_domain log_filesystem("filesystem") ( "filesystem"  )
static