projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set media.name to '*'.
[harmattan/cameraplus]
/
lib
/
qtcammode.h
diff --git
a/lib/qtcammode.h
b/lib/qtcammode.h
index
ea4a238
..
e447cc6
100644
(file)
--- a/
lib/qtcammode.h
+++ b/
lib/qtcammode.h
@@
-3,7
+3,7
@@
/*!
* This file is part of CameraPlus.
*
/*!
* 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
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-39,7
+39,7
@@
class QtCamMode : public QObject {
Q_PROPERTY(bool active READ isActive NOTIFY activeChanged);
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();
virtual ~QtCamMode();
void deactivate();
@@
-52,6
+52,9
@@
public:
QtCamDevice *device() const;
QtCamDevice *device() const;
+ virtual void enablePreview() = 0;
+ void disablePreview();
+
public slots:
void activate();
public slots:
void activate();