commit c4124f1289be998f02b1056db125e79f400c978d
Author: Nathaniel McCallum <[email protected]>
Date: Fri Aug 13 21:51:50 2010 -0400
add itdb_get_control_dir() to csharp bindings; thanks to Alex Launi
bindings/mono/libgpod-sharp/ITDB.cs | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/bindings/mono/libgpod-sharp/ITDB.cs
b/bindings/mono/libgpod-sharp/ITDB.cs
index 69cfe96..dbfef8b 100644
--- a/bindings/mono/libgpod-sharp/ITDB.cs
+++ b/bindings/mono/libgpod-sharp/ITDB.cs
@@ -42,6 +42,9 @@ namespace GPod {
[DllImport ("gpod")]
internal static extern void itdb_free(HandleRef itdb);
+
+ [DllImport ("gpod")]
+ internal static extern string itdb_get_control_dir
(string mountpoint);
[DllImport ("gpod")]
internal static extern string itdb_get_music_dir
(string mountpoint);
@@ -123,6 +126,11 @@ namespace GPod {
throw new GException (error);
return result;
}
+
+ public static string GetControlPath (string mountpoint)
+ {
+ return Itdb_iTunesDB.itdb_get_control_dir (mountpoint);
+ }
public static string GetMusicPath (string mountpoint)
{
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2