1 /* GStreamer Editing Services 2 * Copyright (C) 2015 Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU Library General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef _GES_LAUNCHER 21 #define _GES_LAUNCHER 22 23 #include <ges/ges.h> 24 25 G_BEGIN_DECLS 26 27 #define GES_TYPE_LAUNCHER ges_launcher_get_type() 28 29 #define GES_LAUNCHER(obj) \ 30 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_LAUNCHER, GESLauncher)) 31 32 #define GES_LAUNCHER_CLASS(klass) \ 33 (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_LAUNCHER, GESLauncherClass)) 34 35 #define GES_IS_LAUNCHER(obj) \ 36 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_LAUNCHER)) 37 38 #define GES_IS_LAUNCHER_CLASS(klass) \ 39 (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_LAUNCHER)) 40 41 #define GES_LAUNCHER_GET_CLASS(obj) \ 42 (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_LAUNCHER, GESLauncherClass)) 43 44 typedef struct _GESLauncherPrivate GESLauncherPrivate; 45 typedef struct _GESLauncher GESLauncher; 46 typedef struct _GESLauncherClass GESLauncherClass; 47 48 struct _GESLauncher { 49 GApplication parent; 50 51 /*< private >*/ 52 GESLauncherPrivate *priv; 53 54 /* Padding for API extension */ 55 gpointer _ges_reserved[GES_PADDING]; 56 }; 57 58 struct _GESLauncherClass { 59 /*< private >*/ 60 GApplicationClass parent_class; 61 62 /* Padding for API extension */ 63 gpointer _ges_reserved[GES_PADDING]; 64 }; 65 66 GType ges_launcher_get_type (void); 67 68 GESLauncher* ges_launcher_new (void); 69 gint ges_launcher_get_exit_status (GESLauncher *self); 70 71 G_END_DECLS 72 73 #endif /* _GES_LAUNCHER */ 74