diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-16 13:18:32 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-16 13:18:32 +0200 |
commit | 55bed82b0541c5dbefcf402cc0974fe5d05e7576 (patch) | |
tree | 4fbb6b2de0149fa74f6038408fb930b57def2d34 /platform/linuxbsd/os_linuxbsd.h | |
parent | bda63e1b5aa420617259f151a0570ca0780c0c7d (diff) | |
parent | ac9786c52534cc98c107edf568656f33a81fa2a0 (diff) |
Merge pull request #65525 from MJacred/os/distribution
Add get_distribution_name() and get_version() to OS
Diffstat (limited to 'platform/linuxbsd/os_linuxbsd.h')
-rw-r--r-- | platform/linuxbsd/os_linuxbsd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/os_linuxbsd.h b/platform/linuxbsd/os_linuxbsd.h index d5b2321316..722d83ba19 100644 --- a/platform/linuxbsd/os_linuxbsd.h +++ b/platform/linuxbsd/os_linuxbsd.h @@ -67,6 +67,8 @@ class OS_LinuxBSD : public OS_Unix { MainLoop *main_loop = nullptr; + String get_systemd_os_release_info_value(const String &key) const; + protected: virtual void initialize() override; virtual void finalize() override; @@ -77,6 +79,8 @@ protected: public: virtual String get_name() const override; + virtual String get_distribution_name() const override; + virtual String get_version() const override; virtual MainLoop *get_main_loop() const override; |