commit 57a84576265e82edf97a600aa7582145c58cb6cb
Author: Gabriel Burt <gabriel.b...@gmail.com>
Date:   Thu Sep 23 15:28:31 2010 -0500

    [mono] Add Playlist ctor for making new playlists

 bindings/mono/libgpod-sharp/Playlist.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bindings/mono/libgpod-sharp/Playlist.cs 
b/bindings/mono/libgpod-sharp/Playlist.cs
index fd91964..7ff5a68 100644
--- a/bindings/mono/libgpod-sharp/Playlist.cs
+++ b/bindings/mono/libgpod-sharp/Playlist.cs
@@ -129,6 +129,7 @@ namespace GPod {
                public bool                     IsMaster        { get { return 
(((Itdb_Playlist *) Native)->type & 0xff) == 1; }
                                                                  set { 
((Itdb_Playlist *) Native)->type = (byte) (value ? 1 : 0); } }
 
+               public Playlist(string name) : base 
(Itdb_Playlist.itdb_playlist_new (name, false)) {}
                public Playlist(IntPtr handle, bool borrowed)   : base(handle, 
borrowed) {}
                public Playlist(IntPtr handle)                  : base(handle) 
{}
                public Playlist(Playlist other)                 : 
base(Itdb_Playlist.itdb_playlist_duplicate(other.Handle), false) {}

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to