summaryrefslogtreecommitdiffstats
path: root/src/cameras/uca-mock-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-02 10:31:40 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-02 10:31:40 +0100
commita8436e9b42a1b5a2b30b13a13496539fc23f480e (patch)
treeb757c3a60b00ea3affd0ba10a92d9457194e4121 /src/cameras/uca-mock-camera.h
parente26a093b4036083f13265bcbde5eae442d502377 (diff)
downloaduca-a8436e9b42a1b5a2b30b13a13496539fc23f480e.tar.gz
uca-a8436e9b42a1b5a2b30b13a13496539fc23f480e.tar.bz2
uca-a8436e9b42a1b5a2b30b13a13496539fc23f480e.tar.xz
uca-a8436e9b42a1b5a2b30b13a13496539fc23f480e.zip
Make UcaCamera a base class not an interface
Diffstat (limited to 'src/cameras/uca-mock-camera.h')
-rw-r--r--src/cameras/uca-mock-camera.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cameras/uca-mock-camera.h b/src/cameras/uca-mock-camera.h
index 708542a..aa196db 100644
--- a/src/cameras/uca-mock-camera.h
+++ b/src/cameras/uca-mock-camera.h
@@ -19,6 +19,7 @@
#define __UCA_MOCK_CAMERA_H
#include <glib-object.h>
+#include "uca-camera.h"
#define UCA_TYPE_MOCK_CAMERA (uca_mock_camera_get_type())
#define UCA_MOCK_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UCA_TYPE_MOCK_CAMERA, UcaMockCamera))
@@ -40,7 +41,7 @@ typedef struct _UcaMockCameraPrivate UcaMockCameraPrivate;
*/
struct _UcaMockCamera {
/*< private >*/
- GObject parent;
+ UcaCamera parent;
UcaMockCameraPrivate *priv;
};
@@ -52,9 +53,11 @@ struct _UcaMockCamera {
*/
struct _UcaMockCameraClass {
/*< private >*/
- GObjectClass parent;
+ UcaCameraClass parent;
};
+UcaMockCamera *uca_mock_camera_new(GError **error);
+
GType uca_mock_camera_get_type(void);
#endif