mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-13 04:34:45 -10:00
Fix for Vita Update to use free functions Use std::optional to allow setting empty paths Change header inclusion order Co-authored-by: Gleb Mazovetskiy <[email protected]> Use std::optional to allow setting empty paths Apply clang-format Temporary commit
26 lines
595 B
C++
26 lines
595 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace devilution {
|
|
|
|
namespace paths {
|
|
|
|
const std::string &BasePath();
|
|
const std::string &PrefPath();
|
|
const std::string &ConfigPath();
|
|
const std::string &LangPath();
|
|
const std::string &TtfPath();
|
|
const std::string &TtfName();
|
|
|
|
void SetBasePath(const std::string &path);
|
|
void SetPrefPath(const std::string &path);
|
|
void SetConfigPath(const std::string &path);
|
|
void SetLangPath(const std::string &path);
|
|
void SetTtfPath(const std::string &path);
|
|
void SetTtfName(const std::string &name);
|
|
|
|
} // namespace paths
|
|
|
|
} // namespace devilution
|