]> git.sesse.net Git - kdenlive/blobdiff - src/v4l/v4lcapture.h
Remove unused code
[kdenlive] / src / v4l / v4lcapture.h
index ef81e54ac5c0f7e3b11f55749eb6cc52a4d062b4..56dbb589d6d9e523d37d6562c5f48ffd32f3964c 100644 (file)
 
 #ifndef __V4LCAPTUREHANDLER_H__
 #define __V4LCAPTUREHANDLER_H__
-
-#include "../stopmotion/capturehandler.h"
+#ifndef __APPLE__
 #include "src.h"
+#endif
 
 #include <QWidget>
 #include <QObject>
 #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;
-    QImage m_overlayImage;
+public:
+    V4lCaptureHandler();
+    static QStringList getDeviceName(QString input);
 
-private slots:
-    void slotUpdate();
 };