]> git.sesse.net Git - kdenlive/blobdiff - src/v4l/v4lcapture.h
Complete rewrite of the video4linux capture to use MLT, in progress.
[kdenlive] / src / v4l / v4lcapture.h
index 2eaf5fefee82c0db1885a5370db04b6bfc61e052..03bd9c3b35c9a62d736fc5d24c0b9e33d194572c 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef __V4LCAPTUREHANDLER_H__
 #define __V4LCAPTUREHANDLER_H__
 
-#include "../stopmotion/capturehandler.h"
 #include "src.h"
 
 #include <QWidget>
 #include <QLayout>
 #include <QLabel>
 
-class V4lCaptureHandler : public CaptureHandler
+class V4lCaptureHandler
 {
-  Q_OBJECT
+
 public:
-       V4lCaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
-       ~V4lCaptureHandler();
-       void startPreview(int deviceId, int captureMode);
-       void stopPreview();
-       void startCapture(const QString &path);
-       void stopCapture();
-       void captureFrame(const QString &fname);
-       void showOverlay(QImage img, bool transparent = true);
-       void hideOverlay();
-       void hidePreview(bool hide);
-       
-private:
-       bool m_update;
-       QLabel *m_display;
-       QString m_captureFramePath;
-       
-private slots:
-      void slotUpdate();
-signals:
+    V4lCaptureHandler();
+    static QStringList getDeviceName(QString input);
+
 };