diff options
Diffstat (limited to 'util/osutils.h')
-rw-r--r-- | util/osutils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/osutils.h b/util/osutils.h index 263f1f6d..f779ea2d 100644 --- a/util/osutils.h +++ b/util/osutils.h @@ -16,6 +16,8 @@ #ifndef OSUTILS_H #define OSUTILS_H +#include <QString> + #if defined _WIN32 | defined _WIN64 #define WINDOWS 1 #elif __APPLE__ & __MACH__ @@ -24,4 +26,7 @@ #define LINUX 1 #endif +// Opens the given file in the default application. +void openInDefaultProgram(QString filename); + #endif // OSUTILS_H |