diff options
author | gokaysatir <gokaysatir@gmail.com> | 2020-03-30 02:31:23 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-04-01 20:45:32 +0100 |
commit | a486bad79be3838d115e09ccbb55ec47ea36274a (patch) | |
tree | 462da1ff51b9c30b3b89e3a305d576cb5873235c /wsd/LOOLWSD.hpp | |
parent | Avoid de-referencing non-existing marker. (diff) | |
download | online-a486bad79be3838d115e09ccbb55ec47ea36274a.tar.gz online-a486bad79be3838d115e09ccbb55ec47ea36274a.zip |
tdf#130568 - Add server os pretty name to help->about
Change-Id: Id6de533dfb8e34a05d348f8ae701bf3c524c9b95
Diffstat (limited to 'wsd/LOOLWSD.hpp')
-rw-r--r-- | wsd/LOOLWSD.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp index 3832633145..469d26bec1 100644 --- a/wsd/LOOLWSD.hpp +++ b/wsd/LOOLWSD.hpp @@ -70,6 +70,7 @@ public: static std::string FileServerRoot; static std::string ServiceRoot; ///< There are installations that need prefixing every page with some path. static std::string LOKitVersion; + static std::string OSInfo; static std::string HostIdentifier; ///< A unique random hash that identifies this server static std::string LogLevel; static bool AnonymizeUserData; @@ -219,6 +220,9 @@ public: static std::string getVersionJSON(); + /// Reads OS information, puts them into LOOLWSD::OSInfo variable + static void getOSInfo(); + int innerMain(); protected: |