Use loaders for post capture and settings views
[harmattan/cameraplus] / lib / qtcamcapability_p.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_CAPABILITY_P_H
24 #define QT_CAM_CAPABILITY_P_H
25
26 #include <gst/gst.h>
27 #include "qtcamcapability.h"
28 #include "qtcamdevice.h"
29 #include "qtcamdevice_p.h"
30
31 class QtCamCapabilityPrivate {
32 public:
33   QtCamCapabilityPrivate(QtCamDevice *d, const QtCamCapability::Capability& c, const QString& p) :
34     dev(d),
35     cap(c),
36     prop(p),
37     bin(0),
38     src(0),
39     handler(0),
40     q_ptr(0) {
41
42   }
43
44   QtCamCapabilityPrivate(QtCamDevice *d, const QtCamCapability::Capability& c) :
45     dev(d),
46     cap(c),
47     bin(0),
48     src(0),
49     handler(0),
50     q_ptr(0) {
51
52   }
53
54   virtual ~QtCamCapabilityPrivate() {
55
56</