add a win32-update rule like in core, and copy over enumtypes files

Original commit message from CVS:

* Makefile.am:
* win32/MANIFEST:
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
* win32/common/multichannel-enumtypes.h:
add a win32-update rule like in core, and copy over enumtypes files
This commit is contained in:
Thomas Vander Stichele 2006-01-29 18:21:12 +00:00
parent bb87fea2d4
commit 609ab66b1f
7 changed files with 201 additions and 0 deletions

View file

@ -1,3 +1,17 @@
2006-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
* win32/MANIFEST:
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
* win32/common/multichannel-enumtypes.h:
add a win32-update rule like in core, and copy over enumtypes files
2006-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
* win32/MANIFEST:

View file

@ -47,3 +47,7 @@ check-valgrind:
check-torture:
cd tests/check && make torture
WIN32_COPY = $(top_builddir)/gst-libs/gst/*/*-enumtypes.[ch]
win32-update:
for f in $(WIN32_COPY); do cp $$f win32/common;done

View file

@ -3,6 +3,10 @@ win32/common/libgstaudio.def
win32/common/libgstriff.def
win32/common/libgsttag.def
win32/common/libgstvideo.def
win32/common/interfaces-enumtypes.c
win32/common/interfaces-enumtypes.h
win32/common/multichannel-enumtypes.c
win32/common/multichannel-enumtypes.h
win32/vs6/gst_plugins_base.dsw
win32/vs6/libgstadder.dsp
win32/vs6/libgstaudio.dsp

View file

@ -0,0 +1,80 @@
/* Generated data (by glib-mkenums) */
#include <interfaces.h>
/* enumerations from "colorbalance.h" */
GType
gst_color_balance_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_COLOR_BALANCE_HARDWARE, "GST_COLOR_BALANCE_HARDWARE", "hardware"},
{GST_COLOR_BALANCE_SOFTWARE, "GST_COLOR_BALANCE_SOFTWARE", "software"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstColorBalanceType", values);
}
return etype;
}
/* enumerations from "mixer.h" */
GType
gst_mixer_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_MIXER_HARDWARE, "GST_MIXER_HARDWARE", "hardware"},
{GST_MIXER_SOFTWARE, "GST_MIXER_SOFTWARE", "software"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstMixerType", values);
}
return etype;
}
/* enumerations from "mixertrack.h" */
GType
gst_mixer_track_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_MIXER_TRACK_INPUT, "GST_MIXER_TRACK_INPUT", "input"},
{GST_MIXER_TRACK_OUTPUT, "GST_MIXER_TRACK_OUTPUT", "output"},
{GST_MIXER_TRACK_MUTE, "GST_MIXER_TRACK_MUTE", "mute"},
{GST_MIXER_TRACK_RECORD, "GST_MIXER_TRACK_RECORD", "record"},
{GST_MIXER_TRACK_MASTER, "GST_MIXER_TRACK_MASTER", "master"},
{GST_MIXER_TRACK_SOFTWARE, "GST_MIXER_TRACK_SOFTWARE", "software"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstMixerTrackFlags", values);
}
return etype;
}
/* enumerations from "tunerchannel.h" */
GType
gst_tuner_channel_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_TUNER_CHANNEL_INPUT, "GST_TUNER_CHANNEL_INPUT", "input"},
{GST_TUNER_CHANNEL_OUTPUT, "GST_TUNER_CHANNEL_OUTPUT", "output"},
{GST_TUNER_CHANNEL_FREQUENCY, "GST_TUNER_CHANNEL_FREQUENCY", "frequency"},
{GST_TUNER_CHANNEL_AUDIO, "GST_TUNER_CHANNEL_AUDIO", "audio"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstTunerChannelFlags", values);
}
return etype;
}
/* Generated data ends here */

View file

@ -0,0 +1,31 @@
/* Generated data (by glib-mkenums) */
#ifndef __GST_INTERFACES_ENUM_TYPES_H__
#define __GST_INTERFACES_ENUM_TYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* enumerations from "colorbalance.h" */
GType gst_color_balance_type_get_type (void);
#define GST_TYPE_COLOR_BALANCE_TYPE (gst_color_balance_type_get_type())
/* enumerations from "mixer.h" */
GType gst_mixer_type_get_type (void);
#define GST_TYPE_MIXER_TYPE (gst_mixer_type_get_type())
/* enumerations from "mixertrack.h" */
GType gst_mixer_track_flags_get_type (void);
#define GST_TYPE_MIXER_TRACK_FLAGS (gst_mixer_track_flags_get_type())
/* enumerations from "tunerchannel.h" */
GType gst_tuner_channel_flags_get_type (void);
#define GST_TYPE_TUNER_CHANNEL_FLAGS (gst_tuner_channel_flags_get_type())
G_END_DECLS
#endif /* __GST_INTERFACES_ENUM_TYPES_H__ */
/* Generated data ends here */

View file

@ -0,0 +1,49 @@
/* Generated data (by glib-mkenums) */
#include <multichannel.h>
/* enumerations from "multichannel.h" */
GType
gst_audio_channel_position_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_AUDIO_CHANNEL_POSITION_INVALID, "GST_AUDIO_CHANNEL_POSITION_INVALID",
"invalid"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_MONO,
"GST_AUDIO_CHANNEL_POSITION_FRONT_MONO", "front-mono"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
"GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT", "front-left"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT", "front-right"},
{GST_AUDIO_CHANNEL_POSITION_REAR_CENTER,
"GST_AUDIO_CHANNEL_POSITION_REAR_CENTER", "rear-center"},
{GST_AUDIO_CHANNEL_POSITION_REAR_LEFT,
"GST_AUDIO_CHANNEL_POSITION_REAR_LEFT", "rear-left"},
{GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT", "rear-right"},
{GST_AUDIO_CHANNEL_POSITION_LFE, "GST_AUDIO_CHANNEL_POSITION_LFE", "lfe"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER", "front-center"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER",
"front-left-of-center"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER",
"front-right-of-center"},
{GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT,
"GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT", "side-left"},
{GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT", "side-right"},
{GST_AUDIO_CHANNEL_POSITION_NUM, "GST_AUDIO_CHANNEL_POSITION_NUM", "num"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstAudioChannelPosition", values);
}
return etype;
}
/* Generated data ends here */

View file

@ -0,0 +1,19 @@
/* Generated data (by glib-mkenums) */
#ifndef __GST_AUDIO_ENUM_TYPES_H__
#define __GST_AUDIO_ENUM_TYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* enumerations from "multichannel.h" */
GType gst_audio_channel_position_get_type (void);
#define GST_TYPE_AUDIO_CHANNEL_POSITION (gst_audio_channel_position_get_type())
G_END_DECLS
#endif /* __GST_AUDIO_ENUM_TYPES_H__ */
/* Generated data ends here */