mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
add liscence and some organizational comments
This commit is contained in:
parent
d267841e41
commit
cd1ebe9237
1 changed files with 29 additions and 0 deletions
|
@ -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 <glib.h>
|
||||
#include <ges/ges.h>
|
||||
|
@ -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[])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue