MissingPluginMessage: actually include in build

This commit is contained in:
Gabriel Burt 2011-05-06 14:13:28 -05:00 committed by Sebastian Dröge
parent e67cf80368
commit b724654dd5
2 changed files with 5 additions and 5 deletions

View file

@ -51,6 +51,7 @@ sources = \
PadQueryTypeFunction.cs \
TypeFindDelegates.cs \
PresetDefault.cs \
MissingPluginMessage.cs \
MixerMessage.cs \
NavigationMessage.cs \
NavigationEvent.cs \
@ -118,8 +119,7 @@ customs = \
VideoUtil.custom \
BitReader.custom \
ByteReader.custom \
ByteWriter.custom \
MissingPluginMessage.cs
ByteWriter.custom
plugin_csfiles = $(builddir)/coreplugins/generated/*.cs \
$(builddir)/baseplugins/generated/*.cs \

View file

@ -9,10 +9,10 @@ namespace Gst.PbUtils {
public static class MissingPluginMessage {
[DllImport ("libgstpbutils-0.10.dll") ]
static extern IntPtr gst_is_missing_plugin_message (IntPtr msg);
static extern bool gst_is_missing_plugin_message (IntPtr msg);
public bool IsMissingPluginMessage (Gst.Message msg) {
return (msg != null) : gst_is_missing_plugin_message (msg.Handle) : false;
public static bool IsMissingPluginMessage (Gst.Message msg) {
return msg != null && gst_is_missing_plugin_message (msg.Handle);
}
[DllImport ("libgstpbutils-0.10.dll") ]