summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-09-08 03:49:33 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-09-09 01:32:12 -0400
commite08e605c85a1f62f4b6b83f5404457f5dc55654a (patch)
tree46ff725d9f2632a896fb303e201258f644e032c9 /src/env.h
parent99fdbb2539227cec4fab534efc7420cfc5ca1a92 (diff)
added missing include guards
log free space on drives involved in paths
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 0e88263b..1f146a08 100644
--- a/src/env.h
+++ b/src/env.h
@@ -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