summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-09-13 15:15:18 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-09-13 15:15:18 -0400
commit09b95e39434b9efc49a606957c94cd42309b7fb6 (patch)
tree4e6d3f345166c460589ff10c45a126c9028ab454 /src/env.h
parentb867b0bccdb32d94e1646d8f3f8e8a39d4b2446e (diff)
moved all spawn dialogs into a namespace
starting steam with spawn() instead of QProcess dialogs for bad steam registry key and failure refactored credentials code, added logging add environment variables to env
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 6222c86b..7bdc9b85 100644
--- a/src/env.h
+++ b/src/env.h
@@ -162,6 +162,16 @@ private:
};
+// environment variables
+//
+QString get(const QString& name);
+QString set(const QString& name, const QString& value);
+
+QString path();
+QString addPath(const QString& s);
+QString setPath(const QString& s);
+
+
enum class CoreDumpTypes
{
Mini = 1,
@@ -169,7 +179,7 @@ enum class CoreDumpTypes
Full
};
-// creates a minidump file for the given process
+// creates a minidump file for this process
//
bool coredump(CoreDumpTypes type);