diff options
author | MJacred <loesch.benny92@gmx.de> | 2022-09-16 11:14:14 +0200 |
---|---|---|
committer | MJacred <loesch.benny92@gmx.de> | 2022-09-16 11:17:36 +0200 |
commit | ac9786c52534cc98c107edf568656f33a81fa2a0 (patch) | |
tree | b4aea71462783d2165283f37f4476db950058854 /platform/linuxbsd/os_linuxbsd.h | |
parent | d1b2a191ab752ebd8236e3547e07b6eb3bb1f260 (diff) |
Add get_distribution_name() and get_version() to OS
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP
Co-authored-by: bruvzg
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; |