diff options
Diffstat (limited to 'src/env.h')
| -rw-r--r-- | src/env.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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); |
