diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-08 03:49:33 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-09 01:32:12 -0400 |
| commit | e08e605c85a1f62f4b6b83f5404457f5dc55654a (patch) | |
| tree | 46ff725d9f2632a896fb303e201258f644e032c9 /src/env.h | |
| parent | 99fdbb2539227cec4fab534efc7420cfc5ca1a92 (diff) | |
added missing include guards
log free space on drives involved in paths
Diffstat (limited to 'src/env.h')
| -rw-r--r-- | src/env.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,8 @@ +#ifndef ENV_ENV_H +#define ENV_ENV_H + +class Settings; + namespace env { @@ -125,13 +130,17 @@ public: // logs the environment // - void dump() const; + void dump(const Settings& s) const; private: std::vector<Module> m_modules; std::unique_ptr<WindowsInfo> m_windows; std::vector<SecurityProduct> m_security; std::unique_ptr<Metrics> m_metrics; + + // dumps all the disks involved in the settings + // + void dumpDisks(const Settings& s) const; }; @@ -152,3 +161,5 @@ bool coredump(CoreDumpTypes type); bool coredumpOther(CoreDumpTypes type); } // namespace env + +#endif // ENV_ENV_H |
