camorama r353 - in trunk: . src
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: camorama r353 - in trunk: . src
- Date: Wed, 28 May 2008 14:19:47 +0000 (UTC)
Author: herzi
Date: Wed May 28 14:19:47 2008
New Revision: 353
URL: http://svn.gnome.org/viewvc/camorama?rev=353&view=rev
Log:
2008-05-28 Sven Herzberg <sven imendio com>
Implement capture strategy
* src/capture-strategy-mmap.c,
* src/capture-strategy-read.c: implement capture strategy
Modified:
trunk/ChangeLog
trunk/src/capture-strategy-mmap.c
trunk/src/capture-strategy-read.c
Modified: trunk/src/capture-strategy-mmap.c
==============================================================================
--- trunk/src/capture-strategy-mmap.c (original)
+++ trunk/src/capture-strategy-mmap.c Wed May 28 14:19:47 2008
@@ -25,7 +25,8 @@
/* GType Implementation */
-G_DEFINE_TYPE (CaptureStrategyMmap, capture_strategy_mmap, G_TYPE_OBJECT);
+G_DEFINE_TYPE_WITH_CODE (CaptureStrategyMmap, capture_strategy_mmap, G_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (CAMORAMA_TYPE_CAPTURE_STRATEGY, NULL));
static void
capture_strategy_mmap_init (CaptureStrategyMmap* self)
Modified: trunk/src/capture-strategy-read.c
==============================================================================
--- trunk/src/capture-strategy-read.c (original)
+++ trunk/src/capture-strategy-read.c Wed May 28 14:19:47 2008
@@ -25,7 +25,8 @@
/* GType Implementation */
-G_DEFINE_TYPE (CaptureStrategyRead, capture_strategy_read, G_TYPE_OBJECT);
+G_DEFINE_TYPE_WITH_CODE (CaptureStrategyRead, capture_strategy_read, G_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (CAMORAMA_TYPE_CAPTURE_STRATEGY, NULL));
static void
capture_strategy_read_init (CaptureStrategyRead* self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]