From c92ad7dcf86f2e5e71d71a68e24e79fbdeceb56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 18 Aug 2013 20:52:17 +0200 Subject: Drag and Drop, mod management. --- depends/util/include/pathutils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'depends/util/include/pathutils.h') diff --git a/depends/util/include/pathutils.h b/depends/util/include/pathutils.h index d4f41da3..40bb9e74 100644 --- a/depends/util/include/pathutils.h +++ b/depends/util/include/pathutils.h @@ -33,5 +33,10 @@ LIBUTIL_EXPORT bool ensurePathExists(QString filenamepath); LIBUTIL_EXPORT bool copyPath(QString src, QString dst); +/// Opens the given file in the default application. +LIBUTIL_EXPORT void openFileInDefaultProgram ( QString filename ); + +/// Opens the given directory in the default application. +LIBUTIL_EXPORT void openDirInDefaultProgram ( QString dirpath, bool ensureExists = false ); #endif // PATHUTILS_H -- cgit v1.2.3