/*!
* 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
Q_PROPERTY(bool active READ isActive NOTIFY activeChanged);
public:
- QtCamMode(QtCamModePrivate *d, const char *mode, const char *done, QObject *parent = 0);
+ QtCamMode(QtCamModePrivate *d, const char *mode, QObject *parent = 0);
virtual ~QtCamMode();
void deactivate();
QtCamDevice *device() const;
+ virtual void enablePreview() = 0;
+ void disablePreview();
+
public slots:
void activate();