summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 954c7bb0..dbbd5cf4 100644
--- a/src/env.h
+++ b/src/env.h
@@ -236,8 +236,8 @@ QString get(const QString& name);
QString set(const QString& name, const QString& value);
QString path();
+QString appendToPath(const QString& s);
QString prependToPath(const QString& s);
-QString addPath(const QString& s);
QString setPath(const QString& s);
@@ -301,6 +301,15 @@ struct Association
Association getAssociation(const QFileInfo& file);
+// returns whether the given value exists
+//
+bool registryValueExists(const QString& key, const QString& value);
+
+// deletes a registry key if it's empty or only contains empty keys
+//
+void deleteRegistryKeyIfEmpty(const QString& name);
+
+
enum class CoreDumpTypes
{
Mini = 1,
@@ -308,6 +317,10 @@ enum class CoreDumpTypes
Full
};
+
+CoreDumpTypes coreDumpTypeFromString(const std::string& s);
+std::string toString(CoreDumpTypes type);
+
// creates a minidump file for this process
//
bool coredump(CoreDumpTypes type);