camorama r347 - in trunk: . src



Author: herzi
Date: Wed May 28 14:19:03 2008
New Revision: 347
URL: http://svn.gnome.org/viewvc/camorama?rev=347&view=rev

Log:
2008-05-27  Sven Herzberg  <sven imendio com>

	added source files for the capture strategy refactoring

	* src/capture-strategy-mmap.c:
	* src/capture-strategy-mmap.h:
	* src/capture-strategy-read.c:
	* src/capture-strategy-read.h:
	* src/capture-strategy.c:
	* src/capture-strategy.h:


Added:
   trunk/src/capture-strategy-mmap.c
   trunk/src/capture-strategy-mmap.h
   trunk/src/capture-strategy-read.c
   trunk/src/capture-strategy-read.h
   trunk/src/capture-strategy.c
   trunk/src/capture-strategy.h
Modified:
   trunk/ChangeLog
   trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Wed May 28 14:19:03 2008
@@ -21,17 +21,23 @@
 	camorama-stock-items.h \
 	camorama-window.c \
 	camorama-window.h \
+	capture-strategy.c \
+	capture-strategy.h \
+	capture-strategy-read.c \
+	capture-strategy-read.h \
+	capture-strategy-mmap.c \
+	capture-strategy-mmap.h \
 	filter.c \
 	glib-helpers.h \
 	main.c \
 	support.c \
 	v4l.c \
-	fileio.c	\
-	v4l.h		\
-	callbacks.h	\
-	support.h	\
-	interface.h	\
-	fileio.h	\
+	fileio.c \
+	v4l.h \
+	callbacks.h \
+	support.h \
+	interface.h \
+	fileio.h \
 	font_6x11.h	\
 	filter.h	\
 	$(BUILT_SOURCES)\

Added: trunk/src/capture-strategy-mmap.c
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy-mmap.c	Wed May 28 14:19:03 2008
@@ -0,0 +1,25 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#include "capture-strategy-mmap.h"
+

Added: trunk/src/capture-strategy-mmap.h
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy-mmap.h	Wed May 28 14:19:03 2008
@@ -0,0 +1,28 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#ifndef CAPTURE_STRATEGY_MMAP_H
+#define CAPTURE_STRATEGY_MMAP_H
+
+
+#endif /* !CAPTURE_STRATEGY_MMAP_H */

Added: trunk/src/capture-strategy-read.c
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy-read.c	Wed May 28 14:19:03 2008
@@ -0,0 +1,25 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#include "capture-strategy-read.h"
+

Added: trunk/src/capture-strategy-read.h
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy-read.h	Wed May 28 14:19:03 2008
@@ -0,0 +1,28 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#ifndef CAPTURE_STRATEGY_READ_H
+#define CAPTURE_STRATEGY_READ_H
+
+
+#endif /* !CAPTURE_STRATEGY_READ_H */

Added: trunk/src/capture-strategy.c
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy.c	Wed May 28 14:19:03 2008
@@ -0,0 +1,25 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#include "capture-strategy.h"
+

Added: trunk/src/capture-strategy.h
==============================================================================
--- (empty file)
+++ trunk/src/capture-strategy.h	Wed May 28 14:19:03 2008
@@ -0,0 +1,28 @@
+/* This file is part of ...
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven imendio com>
+ *
+ * Copyright (C) 2008  Sven Herzberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#ifndef CAPTURE_STRATEGY_H
+#define CAPTURE_STRATEGY_H
+
+
+#endif /* !CAPTURE_STRATEGY_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]