/*!
* 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
class QtCamDevicePrivate;
class QtCamImageModePrivate;
+class QtCamImageResolution;
class QtCamImageSettings;
class QtCamImageMode : public QtCamMode {
bool capture(const QString& fileName);
- bool setSettings(const QtCamImageSettings& settings);
+ bool setResolution(const QtCamImageResolution& resolution);
+
+ QtCamImageResolution currentResolution();
void setProfile(GstEncodingProfile *profile);
+ QtCamImageSettings *settings() const;
+
+signals:
+ void captureStarted();
+ void captureEnded();
+
protected:
virtual void start();
virtual void stop();