19 #ifndef IRCCD_SYSTEM_HPP
20 #define IRCCD_SYSTEM_HPP
27 #include "sysconfig.hpp"
31 #include <string_view>
34 #include <boost/filesystem.hpp>
53 auto name() -> std::string;
83 auto env(
const std::string& var) -> std::string;
90 auto home() -> std::string;
161 const std::vector<std::string>& extensions) -> std::vector<std::string>;
165 #endif // !IRCCD_SYSTEM_HPP
auto uptime() -> std::uint64_t
auto env(const std::string &var) -> std::string
auto sysconfdir() -> boost::filesystem::path
auto plugindir() -> boost::filesystem::path
auto config_filenames(std::string_view file) -> std::vector< std::string >
auto home() -> std::string
auto cachedir() -> boost::filesystem::path
auto plugin_filenames(const std::string &name, const std::vector< std::string > &extensions) -> std::vector< std::string >
auto username() -> std::string
auto ticks() -> std::uint64_t
Namespace for system functions.
Definition: system.hpp:39
auto name() -> std::string
void set_program_name(std::string name) noexcept
auto version() -> std::string
auto datadir() -> boost::filesystem::path