/*!
* This file is part of CameraPlus.
*
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#define QT_CAM_VIEWFINDER_H
#include <gst/gst.h>
+#include <QRectF>
class QtCamDevice;
virtual ~QtCamViewfinder();
virtual GstElement *sinkElement() = 0;
- virtual bool setDevice(QtCamDevice *device) = 0;
virtual void stop() = 0;
+
+ virtual QRectF renderArea() const = 0;
+ virtual QSizeF videoResolution() const = 0;
};
#endif /* QT_CAM_VIEWFINDER_H */