--- Vago/trunk/Vago/utilvago.h 2016/12/09 19:04:18 1061 +++ s10k/Vago/utilvago.h 2018/01/03 20:53:29 1098 @@ -1,13 +1,17 @@ #ifndef UTILVAGO_H #define UTILVAGO_H -#include "util.h" -#include "logger.h" +#include +#include +#include +#include + +#include namespace GlobalVars{ -const QString AppVersion="1.3"; -const QString LastCompatibleVersion = "1.0"; +const QString AppVersion="1.4a"; +const QString LastCompatibleVersion = "1.4"; const QString ToolsFolder = "tools"; const QString OniSplitString="OniSplit.exe"; #ifdef Q_OS_WIN @@ -45,12 +49,12 @@ const char OniSplitProcSeparator=';'; **/ namespace UtilVago{ void openLogFile(); -void showAndLogWarningPopUp(Logger *logger, const QString &message); +void showAndLogWarningPopUp(const QString &message); void showWarningPopUpLogButton(const QString &message); -void showAndLogWarningPopUpLogButton(Logger *logger, const QString &message); -void showAndLogErrorPopUp(Logger *logger, const QString &message); +void showAndLogWarningPopUpLogButton(const QString &message); +void showAndLogErrorPopUp(const QString &message); void showErrorPopUpLogButton(const QString &message); -void showAndLogErrorPopUpLogButton(Logger *logger, const QString &message); +void showAndLogErrorPopUpLogButton(const QString &message); QString getOSIndependentAppPath(); QString getAppPath(); QString getOniSplitExecutableAbsolutePath(); @@ -60,6 +64,7 @@ QString getXmlToolsExecutable(); #ifdef Q_OS_MAC QString getMonoExecutablePath(); #endif +QString getDateTimeFormatForFilename(const QDateTime ¤tDateTime); } #endif // UTILVAGO_H