summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper.h b/helper.h
index 90a1ad6..62919bb 100644
--- a/helper.h
+++ b/helper.h
@@ -8,6 +8,9 @@
#ifndef HELPER_H
#define HELPER_H
+#include <QPair>
+#include <QStringList>
+
#include <magic.h>
class QString;
@@ -19,6 +22,7 @@ namespace Helper {
const QString moveToArchive(const QString &path, const QString &md5);
bool removeFromArchive(const QString &filename, const QString &md5);
const QString createArchivePath(const QString &path, const QString &md5, bool withMd5 = false);
+ QPair<QString, QStringList> programData(const QString &prefix, const QString &preferred = QString());
class StringListContains : public std::binary_function<QString, QString, bool> {
public:
bool operator()(const QString s, const QString &part) const;