cheese r667 - in branches/cheese-vala: . src
- From: jhaitsma svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r667 - in branches/cheese-vala: . src
- Date: Sun, 20 Apr 2008 18:50:07 +0100 (BST)
Author: jhaitsma
Date: Sun Apr 20 17:50:07 2008
New Revision: 667
URL: http://svn.gnome.org/viewvc/cheese?rev=667&view=rev
Log:
Start with CheeseWebcam class
Added:
branches/cheese-vala/src/cheese-webcam.vala
Modified:
branches/cheese-vala/ (props changed)
branches/cheese-vala/src/Makefile.am
branches/cheese-vala/src/cheese.vala
Modified: branches/cheese-vala/src/Makefile.am
==============================================================================
--- branches/cheese-vala/src/Makefile.am (original)
+++ branches/cheese-vala/src/Makefile.am Sun Apr 20 17:50:07 2008
@@ -9,7 +9,8 @@
--pkg gio-2.0 \
--pkg gee-1.0 \
--pkg libgnomeui-2.0 \
- --pkg gdk-pixbuf-2.0
+ --pkg gdk-pixbuf-2.0 \
+ --pkg gnome-vfs-2.0
AM_CPPFLAGS = \
-DBINDIR=\"$(bindir)\" \
@@ -29,7 +30,8 @@
cheese_VALASOURCES = \
cheese.vala \
cheese-window.vala \
- cheese-thumb-view.vala
+ cheese-thumb-view.vala \
+ cheese-webcam.vala
cheese_SOURCES = \
$(cheese_VALASOURCES:.vala=.c) \
Added: branches/cheese-vala/src/cheese-webcam.vala
==============================================================================
--- (empty file)
+++ branches/cheese-vala/src/cheese-webcam.vala Sun Apr 20 17:50:07 2008
@@ -0,0 +1,27 @@
+/* cheese-webcam.vala
+ *
+ * Copyright (C) 2007,2008 daniel g. siegel <dgsiegel gmail com>
+ * Copyright (C) 2007,2008 Jaap Haitsma <jaap haitsma org>
+ *
+ * Licensed under the GNU General Public License Version 2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+using GLib;
+using Gst;
+
+public class Cheese.Webcam : GLib.Object {
+
+}
Modified: branches/cheese-vala/src/cheese.vala
==============================================================================
--- branches/cheese-vala/src/cheese.vala (original)
+++ branches/cheese-vala/src/cheese.vala Sun Apr 20 17:50:07 2008
@@ -18,8 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-using GLib;
-using Gtk;
+using GLib, Gtk, GnomeVFS;
public class Cheese.Cheese {
static bool verbose;
@@ -62,6 +61,8 @@
Environment.set_application_name (_("Cheese"));
Gtk.init (ref args);
Gst.init (ref args);
+ /* Necessary for the gnome_thumbnail code we use */
+ GnomeVFS.init ();
Window.set_default_icon_name ("cheese");
string log_file_dir = Path.build_filename (Environment.get_home_dir(), ".config", "cheese");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]