Kill CameraButtonRow and use the QtQuick Row component
[harmattan/cameraplus] / lib / qtcamcolortone.h
1 // -*- c++ -*-
2
3 /*!
4  * This file is part of CameraPlus.
5  *
6  * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21  */
22
23 #ifndef QT_CAM_COLOR_TONE_H
24 #define QT_CAM_COLOR_TONE_H
25
26 #include "qtcamcapability.h"
27
28 class QtCamColorTone : public QtCamCapability {
29   Q_OBJECT
30
31 public:
32   typedef enum {
33     Normal = 0,
34     Sepia = 1,
35     Negative = 2,
36     GrayScale = 3,
37     Natural = 4,
38     Vivid = 5,
39     ColorSwap = 6,
40     Solarize = 7,
41     OutOfFocus = 8,
42     SkyBlue = 9,
43     GrassGreen = 10,
44     SkinWhite = 11,
45   } ColorToneMode;
46
47   QtCamColorTone(QtCamDevice *dev, QObject *parent = 0);
48   ~QtCamColorTone();
49
50   ColorToneMode value();
51   bool setValue(const ColorToneMode& mode);
52 };
53
54 #endif /* QT_CAM_COLOR_TONE_H */