From cd1ebe92372820bbb7d8971b78a4a9590dac2226 Mon Sep 17 00:00:00 2001 From: Brandon Lewis Date: Tue, 20 Jul 2010 18:53:15 +0200 Subject: [PATCH] add liscence and some organizational comments --- tests/examples/ges-ui.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/examples/ges-ui.c b/tests/examples/ges-ui.c index 134a9b5..fc92ed5 100644 --- a/tests/examples/ges-ui.c +++ b/tests/examples/ges-ui.c @@ -1,3 +1,23 @@ +/* GStreamer Editing Services + * Copyright (C) 2010 Brandon Lewis + * 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 #include #include @@ -24,6 +44,8 @@ void add_file_item_activate_cb (GtkMenuItem * item, App * app); GtkWidget *create_ui (App * app); +/* signal handlers **********************************************************/ + void window_destroy_cb (GtkObject * window, App * app) { @@ -48,6 +70,9 @@ add_file_item_activate_cb (GtkMenuItem * item, App * app) g_print ("add file"); } +/* application methods ******************************************************/ + + App * app_new (void) { @@ -93,6 +118,8 @@ app_dispose (App * app) } } +/* Layout *******************************************************************/ + GtkWidget * create_ui (App * app) { @@ -110,6 +137,8 @@ create_ui (App * app) return window; } +/* main *********************************************************************/ + int main (int argc, char *argv[]) { -- 2.7.4