diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-01-09 08:45:46 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-09 08:45:53 +0100 |
commit | 8244726d3970db0d2b868c9c37179a3243bb6bc8 (patch) | |
tree | fab373895874f6cc8c2bb4ba16cfbc3ff7319bb7 /wsd/Admin.hpp | |
parent | loleaflet: simplify code to show next and prev tool items (diff) | |
download | online-8244726d3970db0d2b868c9c37179a3243bb6bc8.tar.gz online-8244726d3970db0d2b868c9c37179a3243bb6bc8.zip |
MonitorConnectRecord: make members private
Change-Id: I485ed48bca0e5c2c0be15f44f553fc48651c59c9
Diffstat (limited to 'wsd/Admin.hpp')
-rw-r--r-- | wsd/Admin.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/wsd/Admin.hpp b/wsd/Admin.hpp index eb2f97c79e..d818a6ceaa 100644 --- a/wsd/Admin.hpp +++ b/wsd/Admin.hpp @@ -155,7 +155,15 @@ private: size_t _totalSysMemKb; size_t _totalAvailMemKb; - struct MonitorConnectRecord { + struct MonitorConnectRecord + { + void setWhen(std::chrono::steady_clock::time_point when) { _when = when; } + std::chrono::steady_clock::time_point getWhen() const { return _when; } + + void setUri(const std::string& uri) { _uri = uri; } + std::string getUri() const { return _uri; } + + protected: std::chrono::steady_clock::time_point _when; std::string _uri; }; |