]> git.sesse.net Git - kdenlive/blobdiff - src/jogshuttle.h
Fix render dialog popping up after clicking on new project (leave it only for KDE...
[kdenlive] / src / jogshuttle.h
index 5e9e269ecf8e4649742b6fc7da9222096a145184..9a6ecc0287c5dbb01483b724f49c492e6dc411c7 100644 (file)
@@ -37,15 +37,15 @@ public:
     void init(QObject *parent, QString device);
     QObject *m_parent;
     int shuttlevalue;
+    int shuttlecounter;
     unsigned short jogvalue;
     bool isWorking();
-    bool stop_me;
+    volatile bool stop_me;
+    QString m_device;
 
 private:
-    QString m_device;
     bool m_isWorking;
     void handle_event(EV ev);
-    void jogshuttle(unsigned short code, unsigned int value);
     void jog(unsigned int value);
     void shuttle(int value);
     void key(unsigned short code, unsigned int value);
@@ -67,11 +67,9 @@ private:
     ShuttleThread m_shuttleProcess;
 
 signals:
-    void rewind1();
-    void forward1();
-    void rewind(double);
-    void forward(double);
-    void stop();
+    void jogBack();
+    void jogForward();
+    void shuttlePos(int);
     void button(int);
 };