Version bump
[someplayer] / src / someplayer.h
index 06eeb9d..4bed241 100644 (file)
@@ -44,12 +44,20 @@ namespace SomePlayer {
 #include <QList>
 #include <QMap>
 #include <QUrl>
+#include <QMessageBox>
 #include "config.h"
 
 #define _DYNAMIC_PLAYLIST_MAX_COUNT_ 50
-#define _SOMEPLAYER_VERSION_ "1.3.6"
+#define _SOMEPLAYER_VERSION_ "1.5.5"
 #define NDEBUG
 
 #define _SERVICE_NAME_ "ru.somebody.someplayer"
 
+#define _APPLICATION_PATH_ "/opt/someplayer"
+
+#define CONFIRM_ACTION(PARENT, TEXT) \
+       if (QMessageBox::question(PARENT, tr("Confirm action"), \
+                                 TEXT, QMessageBox::Ok, QMessageBox::Cancel) != QMessageBox::Ok) \
+       {return;}
+
 #endif