Improved hw zoom keys handling
[someplayer] / src / dbusadaptor.h
index 30ebd0b..a0fb6cc 100644 (file)
 
 #include <QtCore/QObject>
 #include <QtDBus/QtDBus>
+#include <QTime>
+
+#define _DBUS_ACTION_TIMEOUT_ (500)
+
 class QByteArray;
 template<class T> class QList;
 template<class Key, class Value> class QMap;
@@ -74,7 +78,13 @@ public Q_SLOTS: // METHODS
     Q_NOREPLY void stop();
     QString title();
     Q_NOREPLY void toggle();
+    Q_NOREPLY void pause();
+    Q_NOREPLY void playIfPaused();
+
+    void processBTSignal(QString, QString);
 Q_SIGNALS: // SIGNALS
+private:
+       QTime _time;
 };
 
 #endif