#include "desktop/paths.hpp"
#include "filesystem.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/preferences.hpp"
#include "serialization/unicode.hpp"
#include "utils/general.hpp"
#include <boost/filesystem.hpp>
#include <pwd.h>
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) |
#define | DBG_DU LOG_STREAM(debug, log_desktop) |
Functions | |
std::string | desktop::user_profile_dir () |
Returns the path to the user profile dir (e.g. More... | |
std::ostream & | desktop::operator<< (std::ostream &os, const path_info &pinf) |
std::vector< path_info > | desktop::game_paths (const std::set< GAME_PATH_TYPES > &paths) |
Returns a list of game-related paths. More... | |
std::vector< path_info > | desktop::system_paths (const std::set< SYSTEM_PATH_TYPES > &paths) |
Returns a list of system-defined paths. More... | |
unsigned | desktop::add_user_bookmark (const std::string &label, const std::string &path) |
void | desktop::remove_user_bookmark (unsigned index) |
std::vector< bookmark_info > | desktop::user_bookmarks () |
Variables | |
static lg::log_domain | log_desktop ("desktop") |
#define DBG_DU LOG_STREAM(debug, log_desktop) |
#define ERR_DU LOG_STREAM(err, log_desktop) |
#define LOG_DU LOG_STREAM(info, log_desktop) |
|
static |