add liscence and some organizational comments

This commit is contained in:
Brandon Lewis 2010-07-20 18:53:15 +02:00 committed by Edward Hervey
parent d267841e41
commit cd1ebe9237

View file

@ -1,3 +1,23 @@
/* GStreamer Editing Services
* Copyright (C) 2010 Brandon Lewis <brandon.lewis@collabora.co.uk>
* 2010 Nokia Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <glib.h> #include <glib.h>
#include <ges/ges.h> #include <ges/ges.h>
@ -24,6 +44,8 @@ void add_file_item_activate_cb (GtkMenuItem * item, App * app);
GtkWidget *create_ui (App * app); GtkWidget *create_ui (App * app);
/* signal handlers **********************************************************/
void void
window_destroy_cb (GtkObject * window, App * app) window_destroy_cb (GtkObject * window, App * app)
{ {
@ -48,6 +70,9 @@ add_file_item_activate_cb (GtkMenuItem * item, App * app)
g_print ("add file"); g_print ("add file");
} }
/* application methods ******************************************************/
App * App *
app_new (void) app_new (void)
{ {
@ -93,6 +118,8 @@ app_dispose (App * app)
} }
} }
/* Layout *******************************************************************/
GtkWidget * GtkWidget *
create_ui (App * app) create_ui (App * app)
{ {
@ -110,6 +137,8 @@ create_ui (App * app)
return window; return window;
} }
/* main *********************************************************************/
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {