summaryrefslogtreecommitdiff
path: root/libcheese/cheese-camera-device.h
diff options
context:
space:
mode:
authorFilippo Argiolas <filippo.argiolas@gmail.com>2009-12-13 18:11:01 +0100
committerFilippo Argiolas <filippo.argiolas@gmail.com>2009-12-23 09:06:08 +0100
commite933000968492a3aea67815546564ecc6f915e6f (patch)
tree03b0b55313aac7f43cbe7798315cc6b34dcda90f /libcheese/cheese-camera-device.h
parent7a54c29574f5f3a756d8e2e5d20818204ab3be68 (diff)
downloadcheese-e933000968492a3aea67815546564ecc6f915e6f.tar.gz
Move caps retrieving stuff into CheeseCameraDevice
Caps are device specific so it makes sense to retrieve them directly in CheeseCameraDevice. Make CheeseCameraDevice string properties CONSTRUCT_ONLY.
Diffstat (limited to 'libcheese/cheese-camera-device.h')
-rw-r--r--libcheese/cheese-camera-device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcheese/cheese-camera-device.h b/libcheese/cheese-camera-device.h
index fedf5472..444db3a7 100644
--- a/libcheese/cheese-camera-device.h
+++ b/libcheese/cheese-camera-device.h
@@ -56,6 +56,8 @@ typedef struct
GType cheese_video_format_get_type (void) G_GNUC_CONST;
+GType cheese_camera_device_get_type (void) G_GNUC_CONST;
+
CheeseCameraDevice *cheese_camera_device_new (void);
GstCaps *cheese_camera_device_get_caps_for_format (CheeseCameraDevice *device,
CheeseVideoFormat *format);