From a8436e9b42a1b5a2b30b13a13496539fc23f480e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 2 Mar 2012 10:31:40 +0100 Subject: Make UcaCamera a base class not an interface --- src/cameras/uca-mock-camera.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/cameras/uca-mock-camera.h') 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 +#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 -- cgit v1.2.3