diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-09-19 18:04:32 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-09-19 18:04:32 +0200 |
commit | 6dd3229337aa1920d266fbd2c4001fb7c65f5cf1 (patch) | |
tree | ee6efb0b6f1a0bc179f7165faf6c9895a975d553 /src/cameras/uca-ufo-camera.c | |
parent | 90f0d4f6fa74111f38c9aedf31ecb740bc0ddf97 (diff) | |
download | uca-6dd3229337aa1920d266fbd2c4001fb7c65f5cf1.tar.gz uca-6dd3229337aa1920d266fbd2c4001fb7c65f5cf1.tar.bz2 uca-6dd3229337aa1920d266fbd2c4001fb7c65f5cf1.tar.xz uca-6dd3229337aa1920d266fbd2c4001fb7c65f5cf1.zip |
Make most cameras plugins
Diffstat (limited to 'src/cameras/uca-ufo-camera.c')
-rw-r--r-- | src/cameras/uca-ufo-camera.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 5f59f4a..7542fdf 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -15,6 +15,7 @@ with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ +#include <gmodule.h> #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -143,7 +144,8 @@ static int event_callback(pcilib_event_id_t event_id, pcilib_event_info_t *info, return PCILIB_STREAMING_CONTINUE; } -UcaUfoCamera *uca_ufo_camera_new(GError **error) +G_MODULE_EXPORT UcaCamera * +uca_camera_impl_new (GError **error) { pcilib_model_t model = PCILIB_MODEL_DETECT; pcilib_model_description_t *model_description; @@ -223,7 +225,7 @@ UcaUfoCamera *uca_ufo_camera_new(GError **error) priv->handle = handle; - return camera; + return UCA_CAMERA (camera); } static void uca_ufo_camera_start_recording(UcaCamera *camera, GError **error) |