Add get_distribution_name() and get_version() to OS
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
This commit is contained in:
parent
d1b2a191ab
commit
ac9786c525
18 changed files with 218 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue