18namespace util::supervise {
54 void ProgramName(std::string name) { program_name_ = std::move(name); }
60 [[nodiscard]] std::string
ProgramName()
const {
return program_name_; }
93 std::string program_name_;
SystemInfo()=default
Default constructor.
std::string DataPath() const
Returns the default data path.
void ProgramName(std::string name)
Sets the system or program name.
Definition systeminfo.h:54
std::string ConfigPath() const
Returns the default configuration path.
std::string ProgramName() const
Returns the program or system name.
Definition systeminfo.h:60
std::string CachePath() const
Returns the default cache path.
SystemInfo(std::string program_name)
Constructor with its program or system name.
std::string StatePath() const
Returns the default state path.
std::string ProgramDataPath() const
Returns the default program data path.