Added resource policy support (Still needs more testing) and refactored the pipeline...
[harmattan/cameraplus] / lib / qtcamviewfinder.h
1 // -*- c++ -*-
2
3 #ifndef QT_CAM_VIEWFINDER_H
4 #define QT_CAM_VIEWFINDER_H
5
6 #include <gst/gst.h>
7
8 class QtCamDevice;
9
10 class QtCamViewfinder {
11 public:
12   QtCamViewfinder();
13   virtual ~QtCamViewfinder();
14
15   virtual GstElement *sinkElement() = 0;
16   virtual bool setDevice(QtCamDevice *device) = 0;
17   virtual void stop() = 0;
18 };
19
20 #endif /* QT_CAM_VIEWFINDER_H */