Branch data Line data Source code
1 : : /* GStreamer Editing Services
2 : : * Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk>
3 : : * 2009 Nokia Corporation
4 : : *
5 : : * This library is free software; you can redistribute it and/or
6 : : * modify it under the terms of the GNU Library General Public
7 : : * License as published by the Free Software Foundation; either
8 : : * version 2 of the License, or (at your option) any later version.
9 : : *
10 : : * This library is distributed in the hope that it will be useful,
11 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 : : * Library General Public License for more details.
14 : : *
15 : : * You should have received a copy of the GNU Library General Public
16 : : * License along with this library; if not, write to the
17 : : * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 : : * Boston, MA 02111-1307, USA.
19 : : */
20 : :
21 : : /**
22 : : * SECTION:ges-track-operation
23 : : * @short_description: Base Class for effects and overlays
24 : : */
25 : :
26 : : #include "ges-internal.h"
27 : : #include "ges-track-object.h"
28 : : #include "ges-track-operation.h"
29 : :
30 [ + + ]: 38 : G_DEFINE_ABSTRACT_TYPE (GESTrackOperation, ges_track_operation,
31 : 38 : GES_TYPE_TRACK_OBJECT);
32 : :
33 : : struct _GESTrackOperationPrivate
34 : : {
35 : : /* Dummy variable */
36 : : void *nothing;
37 : : };
38 : :
39 : : static void
40 : 8 : ges_track_operation_class_init (GESTrackOperationClass * klass)
41 : : {
42 : 8 : GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
43 : :
44 : 8 : g_type_class_add_private (klass, sizeof (GESTrackOperationPrivate));
45 : :
46 : 8 : track_class->gnlobject_factorytype = "gnloperation";
47 : 8 : }
48 : :
49 : : static void
50 : 22 : ges_track_operation_init (GESTrackOperation * self)
51 : : {
52 : 22 : self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
53 : : GES_TYPE_TRACK_OPERATION, GESTrackOperationPrivate);
54 : 22 : }
|