Manager: Put machine information fetching in separate functions

This commit is contained in:
Riyyi
2022-02-02 18:10:35 +01:00
parent 5f023e579a
commit 4bf7b3d38f
2 changed files with 23 additions and 4 deletions
+4
View File
@@ -27,6 +27,10 @@ public:
uint32_t gid() { return m_passwd->pw_gid; }
private:
void fetchDistro();
void fetchHostname();
void fetchUsername();
std::string m_distroId;
std::string m_distroIdLike;
std::string m_hostname;