[libgdata] demos: Add licence headers and a documentation comment



commit e0049fce8be066bc1fc78e801791aebf6b025d1d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Jul 30 20:35:43 2011 +0100

    demos: Add licence headers and a documentation comment

 demos/scrapbook/scrapbook.c |   32 ++++++++++++++++++++++++++++++++
 demos/scrapbook/scrapbook.h |   19 +++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/demos/scrapbook/scrapbook.c b/demos/scrapbook/scrapbook.c
index e9635e7..64e3ce8 100644
--- a/demos/scrapbook/scrapbook.c
+++ b/demos/scrapbook/scrapbook.c
@@ -1,3 +1,35 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * GData Client
+ * Copyright (C) Joe Cortes 2010 <escozzia gmail com>
+ *
+ * GData Client 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.
+ *
+ * GData Client 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 GData Client.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * This is an extremely simple example program to query youtube videos
+ * and picasa pictures and add them to a table.
+ * It was coded as part of the 2010 Google Code-In.
+ * Click on Properties to change the window's title, or authenticate
+ * yourself (it's assumed that your google and picasa ids are the same)
+ * It's also possible to upload files to picasa.
+ * Since this is only an example, intended to serve as documentation,
+ * it's probably full of bugs and a couple of awful programming practices.
+ * The program itself is of no practical use, but it does what it is
+ * meant to do and doesn't segfault randomly (I hope so :p).
+ */
+
 #include "scrapbook.h"
 
 static void
diff --git a/demos/scrapbook/scrapbook.h b/demos/scrapbook/scrapbook.h
index 5d2338b..bdafb57 100644
--- a/demos/scrapbook/scrapbook.h
+++ b/demos/scrapbook/scrapbook.h
@@ -1,3 +1,22 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * GData Client
+ * Copyright (C) Joe Cortes 2010 <escozzia gmail com>
+ *
+ * GData Client 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.
+ *
+ * GData Client 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 GData Client.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <gtk/gtk.h>



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