Commit 57bdfdce authored by Mike Wey's avatar Mike Wey
Browse files

Add GstMpegts.

parent 9036a465
......@@ -86,7 +86,7 @@ PICOBJECTS_GTKDSV = $(patsubst %.o,%.pic.o,$(OBJECTS_GTKDSV))
LIBNAME_GSTREAMERD = libgstreamerd-$(MAJOR).a
SONAME_GSTREAMERD = libgstreamerd-$(MAJOR).so
SOURCES_GSTREAMERD = $(wildcard generated/gstreamer/*/*.d) $(wildcard generated/gstreamer/*/c/*.d)
SOURCES_GSTREAMERD = $(wildcard generated/gstreamer/*/*.d) $(wildcard generated/gstreamer/*/c/*.d) $(wildcard generated/gstreamer/gst/*/*.d) $(wildcard generated/gstreamer/gst/*/c/*.d)
OBJECTS_GSTREAMERD = $(patsubst %.d,%.o,$(SOURCES_GSTREAMERD))
PICOBJECTS_GSTREAMERD = $(patsubst %.o,%.pic.o,$(OBJECTS_GSTREAMERD))
......
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with gtkD; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*/
// generated automatically - do not change
// find conversion definition on APILookup.txt
// implement new conversion functionalities on the wrap.utils pakage
module gst.mpegts.AtscEIT;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
/**
* Event Information Table (ATSC)
*/
public final class AtscEIT
{
/** the main Gtk struct */
protected GstMpegtsAtscEIT* gstMpegtsAtscEIT;
protected bool ownedRef;
/** Get the main Gtk struct */
public GstMpegtsAtscEIT* getAtscEITStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return gstMpegtsAtscEIT;
}
/** the main Gtk struct as a void* */
protected void* getStruct()
{
return cast(void*)gstMpegtsAtscEIT;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (GstMpegtsAtscEIT* gstMpegtsAtscEIT, bool ownedRef = false)
{
this.gstMpegtsAtscEIT = gstMpegtsAtscEIT;
this.ownedRef = ownedRef;
}
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscEIT);
}
/** */
public @property ushort sourceId()
{
return gstMpegtsAtscEIT.sourceId;
}
/** Ditto */
public @property void sourceId(ushort value)
{
gstMpegtsAtscEIT.sourceId = value;
}
/** */
public @property ubyte protocolVersion()
{
return gstMpegtsAtscEIT.protocolVersion;
}
/** Ditto */
public @property void protocolVersion(ubyte value)
{
gstMpegtsAtscEIT.protocolVersion = value;
}
/**
* Events
*/
public @property PtrArray events()
{
return new PtrArray(gstMpegtsAtscEIT.events, false);
}
/** Ditto */
public @property void events(PtrArray value)
{
gstMpegtsAtscEIT.events = value.getPtrArrayStruct();
}
/** */
public static GType getType()
{
return gst_mpegts_atsc_eit_get_type();
}
}
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with gtkD; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*/
// generated automatically - do not change
// find conversion definition on APILookup.txt
// implement new conversion functionalities on the wrap.utils pakage
module gst.mpegts.AtscEITEvent;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
/**
* An ATSC EIT Event
*/
public final class AtscEITEvent
{
/** the main Gtk struct */
protected GstMpegtsAtscEITEvent* gstMpegtsAtscEITEvent;
protected bool ownedRef;
/** Get the main Gtk struct */
public GstMpegtsAtscEITEvent* getAtscEITEventStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return gstMpegtsAtscEITEvent;
}
/** the main Gtk struct as a void* */
protected void* getStruct()
{
return cast(void*)gstMpegtsAtscEITEvent;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (GstMpegtsAtscEITEvent* gstMpegtsAtscEITEvent, bool ownedRef = false)
{
this.gstMpegtsAtscEITEvent = gstMpegtsAtscEITEvent;
this.ownedRef = ownedRef;
}
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscEITEvent);
}
/** */
public @property ushort eventId()
{
return gstMpegtsAtscEITEvent.eventId;
}
/** Ditto */
public @property void eventId(ushort value)
{
gstMpegtsAtscEITEvent.eventId = value;
}
/** */
public @property uint startTime()
{
return gstMpegtsAtscEITEvent.startTime;
}
/** Ditto */
public @property void startTime(uint value)
{
gstMpegtsAtscEITEvent.startTime = value;
}
/** */
public @property ubyte etmLocation()
{
return gstMpegtsAtscEITEvent.etmLocation;
}
/** Ditto */
public @property void etmLocation(ubyte value)
{
gstMpegtsAtscEITEvent.etmLocation = value;
}
/** */
public @property uint lengthInSeconds()
{
return gstMpegtsAtscEITEvent.lengthInSeconds;
}
/** Ditto */
public @property void lengthInSeconds(uint value)
{
gstMpegtsAtscEITEvent.lengthInSeconds = value;
}
/**
* the titles
*/
public @property PtrArray titles()
{
return new PtrArray(gstMpegtsAtscEITEvent.titles, false);
}
/** Ditto */
public @property void titles(PtrArray value)
{
gstMpegtsAtscEITEvent.titles = value.getPtrArrayStruct();
}
/**
* descriptors
*/
public @property PtrArray descriptors()
{
return new PtrArray(gstMpegtsAtscEITEvent.descriptors, false);
}
/** Ditto */
public @property void descriptors(PtrArray value)
{
gstMpegtsAtscEITEvent.descriptors = value.getPtrArrayStruct();
}
/** */
public static GType getType()
{
return gst_mpegts_atsc_eit_event_get_type();
}
}
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with gtkD; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*/
// generated automatically - do not change
// find conversion definition on APILookup.txt
// implement new conversion functionalities on the wrap.utils pakage
module gst.mpegts.AtscETT;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
/**
* Extended Text Table (ATSC)
*/
public final class AtscETT
{
/** the main Gtk struct */
protected GstMpegtsAtscETT* gstMpegtsAtscETT;
protected bool ownedRef;
/** Get the main Gtk struct */
public GstMpegtsAtscETT* getAtscETTStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return gstMpegtsAtscETT;
}
/** the main Gtk struct as a void* */
protected void* getStruct()
{
return cast(void*)gstMpegtsAtscETT;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (GstMpegtsAtscETT* gstMpegtsAtscETT, bool ownedRef = false)
{
this.gstMpegtsAtscETT = gstMpegtsAtscETT;
this.ownedRef = ownedRef;
}
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscETT);
}
/** */
public @property ushort ettTableIdExtension()
{
return gstMpegtsAtscETT.ettTableIdExtension;
}
/** Ditto */
public @property void ettTableIdExtension(ushort value)
{
gstMpegtsAtscETT.ettTableIdExtension = value;
}
/** */
public @property ushort protocolVersion()
{
return gstMpegtsAtscETT.protocolVersion;
}
/** Ditto */
public @property void protocolVersion(ushort value)
{
gstMpegtsAtscETT.protocolVersion = value;
}
/** */
public @property uint etmId()
{
return gstMpegtsAtscETT.etmId;
}
/** Ditto */
public @property void etmId(uint value)
{
gstMpegtsAtscETT.etmId = value;
}
/**
* List of texts
*/
public @property PtrArray messages()
{
return new PtrArray(gstMpegtsAtscETT.messages, false);
}
/** Ditto */
public @property void messages(PtrArray value)
{
gstMpegtsAtscETT.messages = value.getPtrArrayStruct();
}
/** */
public static GType getType()
{
return gst_mpegts_atsc_ett_get_type();
}
}
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with gtkD; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*/
// generated automatically - do not change
// find conversion definition on APILookup.txt
// implement new conversion functionalities on the wrap.utils pakage
module gst.mpegts.AtscMGT;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
/**
* Master Guide Table (A65)
*/
public final class AtscMGT
{
/** the main Gtk struct */
protected GstMpegtsAtscMGT* gstMpegtsAtscMGT;
protected bool ownedRef;
/** Get the main Gtk struct */
public GstMpegtsAtscMGT* getAtscMGTStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return gstMpegtsAtscMGT;
}
/** the main Gtk struct as a void* */
protected void* getStruct()
{
return cast(void*)gstMpegtsAtscMGT;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (GstMpegtsAtscMGT* gstMpegtsAtscMGT, bool ownedRef = false)
{
this.gstMpegtsAtscMGT = gstMpegtsAtscMGT;
this.ownedRef = ownedRef;
}
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscMGT);
}
/** */
public @property ubyte protocolVersion()
{
return gstMpegtsAtscMGT.protocolVersion;
}
/** Ditto */
public @property void protocolVersion(ubyte value)
{
gstMpegtsAtscMGT.protocolVersion = value;
}
/** */
public @property ushort tablesDefined()
{
return gstMpegtsAtscMGT.tablesDefined;
}
/** Ditto */
public @property void tablesDefined(ushort value)
{
gstMpegtsAtscMGT.tablesDefined = value;
}
/**
* the tables
*/
public @property PtrArray tables()
{
return new PtrArray(gstMpegtsAtscMGT.tables, false);
}
/** Ditto */
public @property void tables(PtrArray value)
{
gstMpegtsAtscMGT.tables = value.getPtrArrayStruct();
}
/**
* descriptors
*/
public @property PtrArray descriptors()
{
return new PtrArray(gstMpegtsAtscMGT.descriptors, false);
}
/** Ditto */
public @property void descriptors(PtrArray value)
{
gstMpegtsAtscMGT.descriptors = value.getPtrArrayStruct();
}
/** */
public static GType getType()
{
return gst_mpegts_atsc_mgt_get_type();
}
}
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version, with
* some exceptions, please read the COPYING file.
*
* gtkD 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with gtkD; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*/
// generated automatically - do not change
// find conversion definition on APILookup.txt
// implement new conversion functionalities on the wrap.utils pakage
module gst.mpegts.AtscMGTTable;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
/**
* Source from a @GstMpegtsAtscMGT
*/
public final class AtscMGTTable
{
/** the main Gtk struct */
protected GstMpegtsAtscMGTTable* gstMpegtsAtscMGTTable;
protected bool ownedRef;
/** Get the main Gtk struct */
public GstMpegtsAtscMGTTable* getAtscMGTTableStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return gstMpegtsAtscMGTTable;
}
/** the main Gtk struct as a void* */
protected void* getStruct()
{
return cast(void*)gstMpegtsAtscMGTTable;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (GstMpegtsAtscMGTTable* gstMpegtsAtscMGTTable, bool ownedRef = false)
{
this.gstMpegtsAtscMGTTable = gstMpegtsAtscMGTTable;
this.ownedRef = ownedRef;
}
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscMGTTable);
}
/** */
public @property ushort tableType()
{