/**
* @file libvlc.cs
- * @brief libvlc-control CIL bindings
+ * @brief libvlc CIL bindings
*
* $Id$
*/
{
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_new")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_new")]
internal static extern
InstanceHandle Create (int argc, U8String[] argv, NativeException ex);
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_release")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_release")]
static extern void Destroy (IntPtr ptr, NativeException ex);
/**
return new MediaDescriptor (dh);
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_loop")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_loop")]
static extern void PlaylistLoop (InstanceHandle self, bool b,
NativeException ex);
/** Sets the playlist loop flag. */
}
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_play")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_play")]
static extern void PlaylistPlay (InstanceHandle self, int id, int optc,
U8String[] optv, NativeException ex);
/** Plays the next playlist item (if not already playing). */
ex.Raise ();
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_pause")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_pause")]
static extern void PlaylistPause (InstanceHandle self,
NativeException ex);
/** Toggles pause (starts playing if stopped, pauses if playing). */
ex.Raise ();
}
- [DllImport ("libvlc-control.dll",
+ [DllImport ("libvlc.dll",
EntryPoint="libvlc_playlist_isplaying")]
static extern int PlaylistIsPlaying (InstanceHandle self,
NativeException ex);
}
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_stop")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_stop")]
static extern void PlaylistStop (InstanceHandle self,
NativeException ex);
/** Stops playing. */
ex.Raise ();
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_next")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_next")]
static extern void PlaylistNext (InstanceHandle self,
NativeException ex);
/** Switches to next playlist item, and starts playing it. */
ex.Raise ();
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_prev")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_prev")]
static extern void PlaylistPrev (InstanceHandle self,
NativeException ex);
/** Switches to previous playlist item, and starts playing it. */
ex.Raise ();
}
- [DllImport ("libvlc-control.dll", EntryPoint="libvlc_playlist_clear")]
+ [DllImport ("libvlc.dll", EntryPoint="libvlc_playlist_clear")]
static extern void PlaylistClear (InstanceHandle self,
NativeException ex);
/** Clears the whole playlist. */
items.Clear ();
}
- [DllImport ("libvlc-control.dll",
+ [DllImport ("libvlc.dll",
EntryPoint="libvlc_playlist_add_extended")]
static extern int PlaylistAdd (InstanceHandle self, U8String uri,
U8String name, int optc,
return Add (mrl, null, new string[0]);
}
- [DllImport ("libvlc-control.dll",
+ [DllImport ("libvlc.dll",
EntryPoint="libvlc_playlist_delete_item")]
static extern int PlaylistDelete (InstanceHandle self, int id,
NativeException e);
{
}
- [DllImport ("libvlc-control.dll",
+ [DllImport ("libvlc.dll",
EntryPoint="libvlc_media_new")]
public static extern
DescriptorHandle Create (InstanceHandle inst, U8String mrl,
NativeException ex);
- [DllImport ("libvlc-control.dll",
+ [DllImport ("libvlc.dll",
EntryPoint="libvlc_media_release")]
public static extern void Release (IntPtr ptr);