ges-video-track.h 2.09 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
/* GStreamer Editing Services
 * Copyright (C) <2013> Thibault Saunier <thibault.saunier@collabora.com>
 *
 * 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., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifndef _GES_VIDEO_TRACK_H_
#define _GES_VIDEO_TRACK_H_

#include <glib-object.h>

#include "ges-track.h"
#include "ges-types.h"

G_BEGIN_DECLS
#define GES_TYPE_VIDEO_TRACK             (ges_video_track_get_type ())
#define GES_VIDEO_TRACK(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_VIDEO_TRACK, GESVideoTrack))
#define GES_VIDEO_TRACK_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_VIDEO_TRACK, GESVideoTrackClass))
#define GES_IS_VIDEO_TRACK(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_VIDEO_TRACK))
#define GES_IS_VIDEO_TRACK_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_VIDEO_TRACK))
#define GES_VIDEO_TRACK_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_VIDEO_TRACK, GESVideoTrackClass))

typedef struct _GESVideoTrackPrivate GESVideoTrackPrivate;

struct _GESVideoTrackClass
{
  GESTrackClass parent_class;
41 42 43

  /* Padding for API extension */
  gpointer    _ges_reserved[GES_PADDING];
44 45 46 47 48 49
};

struct _GESVideoTrack
{
  GESTrack parent_instance;

50
  /*< private >*/
51
  GESVideoTrackPrivate *priv;
52 53 54

  /* Padding for API extension */
  gpointer    _ges_reserved[GES_PADDING];
55 56 57 58 59 60 61
};

GType ges_video_track_get_type (void) G_GNUC_CONST;
GESVideoTrack * ges_video_track_new (void);

G_END_DECLS
#endif /* _GES_VIDEO_TRACK_H_ */