banshee r3161 - in trunk/banshee: . build src/Backends src/Backends/Banshee.Unix src/Backends/Banshee.Unix/Banshee.IO.Unix src/Core/Banshee.Core src/Core/Banshee.Core/Banshee.IO src/Core/Banshee.Services



Author: abock
Date: Thu Feb  7 07:01:17 2008
New Revision: 3161
URL: http://svn.gnome.org/viewvc/banshee?rev=3161&view=rev

Log:
2008-02-07  Aaron Bockover  <abock gnome org>

    This commit adds Mono.Unix IO support back, inside the new Unix/POSIX
    extension; yay cross-platform

    * src/Backends/Banshee.Unix/Banshee.IO.Unix: Added the Unix IO backend

    * src/Backends/Banshee.Unix/Banshee.Unix.addin.xml: Extension file for
    the unix backend

    * src/Core/Banshee.Core/Banshee.IO/UnixIOProvider.cs: Removed

    * src/Core/Banshee.Services/Banshee.Services.addin.xml: Removed extension
    points that belonged in core, not services
    
    * build/build.environment.mk:
    * build/build.rules.mk:
    * configure.ac: Build foo



Added:
   trunk/banshee/src/Backends/Banshee.Unix/
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/DemuxVfs.cs
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/File.cs
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Provider.cs
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.addin.xml
   trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.mdp
   trunk/banshee/src/Backends/Banshee.Unix/Makefile.am
Removed:
   trunk/banshee/src/Core/Banshee.Core/Banshee.IO/UnixIOProvider.cs
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/build/build.environment.mk
   trunk/banshee/build/build.rules.mk
   trunk/banshee/configure.ac
   trunk/banshee/src/Backends/Backends.mds
   trunk/banshee/src/Backends/Makefile.am
   trunk/banshee/src/Core/Banshee.Core/Banshee.Core.mdp
   trunk/banshee/src/Core/Banshee.Core/Makefile.am
   trunk/banshee/src/Core/Banshee.Services/Banshee.Services.addin.xml

Modified: trunk/banshee/build/build.environment.mk
==============================================================================
--- trunk/banshee/build/build.environment.mk	(original)
+++ trunk/banshee/build/build.environment.mk	Thu Feb  7 07:01:17 2008
@@ -96,6 +96,7 @@
 # Backends
 REF_BACKEND_GNOME = $(LINK_BANSHEE_CORE_DEPS) $(LINK_GCONF)
 REF_BACKEND_GSTREAMER = $(LINK_BANSHEE_SERVICES_DEPS) $(LINK_GLIB)
+REF_BACKEND_UNIX = $(LINK_BANSHEE_CORE_DEPS) $(LINK_MONO_POSIX)
 
 
 # Extensions

Modified: trunk/banshee/build/build.rules.mk
==============================================================================
--- trunk/banshee/build/build.rules.mk	(original)
+++ trunk/banshee/build/build.rules.mk	Thu Feb  7 07:01:17 2008
@@ -29,4 +29,5 @@
 EXTRA_DIST = $(SOURCES_BUILD) $(RESOURCES_EXPANDED_FULL)
 
 CLEANFILES = $(OUTPUT_FILES) *.dll *.mdb *.exe
+DISTCLEANFILES = *.pidb
 MAINTAINERCLEANFILES = Makefile.in

Modified: trunk/banshee/configure.ac
==============================================================================
--- trunk/banshee/configure.ac	(original)
+++ trunk/banshee/configure.ac	Thu Feb  7 07:01:17 2008
@@ -134,6 +134,7 @@
 src/Backends/Makefile
 src/Backends/Banshee.Gnome/Makefile
 src/Backends/Banshee.GStreamer/Makefile
+src/Backends/Banshee.Unix/Makefile
 
 src/Extensions/Makefile
 src/Extensions/Banshee.Audioscrobbler/Makefile

Modified: trunk/banshee/src/Backends/Backends.mds
==============================================================================
--- trunk/banshee/src/Backends/Backends.mds	(original)
+++ trunk/banshee/src/Backends/Backends.mds	Thu Feb  7 07:01:17 2008
@@ -3,14 +3,17 @@
     <Configuration name="Debug" ctype="CombineConfiguration">
       <Entry build="True" name="Banshee.GStreamer" configuration="Debug" />
       <Entry build="True" name="Banshee.Gnome" configuration="Debug" />
+      <Entry build="True" name="Banshee.Unix" configuration="Debug" />
     </Configuration>
   </Configurations>
   <StartMode startupentry="Banshee.GStreamer" single="True">
     <Execute type="None" entry="Banshee.GStreamer" />
     <Execute type="None" entry="Banshee.Gnome" />
+    <Execute type="None" entry="Banshee.Unix" />
   </StartMode>
   <Entries>
     <Entry filename="Banshee.GStreamer/Banshee.GStreamer.mdp" />
     <Entry filename="Banshee.Gnome/Banshee.Gnome.mdp" />
+    <Entry filename="Banshee.Unix/Banshee.Unix.mdp" />
   </Entries>
 </Combine>
\ No newline at end of file

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/DemuxVfs.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/DemuxVfs.cs	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,72 @@
+//
+// DemuxVfs.cs
+//
+// Author:
+//   Aaron Bockover <abockover novell com>
+//
+// Copyright (C) 2006-2008 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.IO;
+using Mono.Unix;
+using Mono.Unix.Native;
+
+using Banshee.Base;
+
+namespace Banshee.IO.Unix
+{
+    public class DemuxVfs : IDemuxVfs
+    {   
+        private UnixFileInfo file_info;
+        
+        public DemuxVfs (string path)
+        {
+            file_info = new UnixFileInfo (path);
+        }
+        
+        public void CloseStream (Stream stream)
+        {
+            stream.Close ();
+        }
+        
+        public string Name { 
+            get { return file_info.FullName; }
+        }
+        
+        public Stream ReadStream {
+            get { return file_info.Open (FileMode.Open, FileAccess.Read); }
+        }
+        
+        public Stream WriteStream {
+            get { return file_info.Open (FileMode.Create, FileAccess.ReadWrite); }
+        }
+   
+        public bool IsReadable {
+            get { return file_info.CanAccess (AccessModes.R_OK); }
+        }
+   
+        public bool IsWritable {
+            get { return file_info.CanAccess (AccessModes.W_OK); }
+        }
+    }
+}

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,112 @@
+//
+// Directory.cs
+//
+// Author:
+//   Aaron Bockover <abockover novell com>
+//
+// Copyright (C) 2006-2008 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.IO;
+using System.Collections.Generic;
+using Mono.Unix;
+
+using Banshee.Base;
+
+namespace Banshee.IO.Unix
+{
+    public class Directory : IDirectory
+    {
+        [System.Runtime.InteropServices.DllImport ("libglib-2.0.so")]
+        private static extern int g_mkdir_with_parents (IntPtr path, int mode);
+    
+        public void Create (string directory)
+        {
+            IntPtr path_ptr = IntPtr.Zero;
+            
+            try {
+                path_ptr = GLib.Marshaller.StringToPtrGStrdup (directory);
+                if (path_ptr == IntPtr.Zero) {
+                    throw new Exception ("Failed to allocate native directory string");
+                }
+            
+                if (g_mkdir_with_parents (path_ptr, 493 /*0755 - C# doesn't do octal literals*/) == -1) {
+                    Mono.Unix.UnixMarshal.ThrowExceptionForLastError ();
+                }
+            } catch (EntryPointNotFoundException) {
+                Log.Warning ("g_mkdir_with_parents could not be found, falling back to System.IO");
+                System.IO.Directory.CreateDirectory (directory);
+            } finally {
+                if (!path_ptr.Equals (IntPtr.Zero)) {
+                    GLib.Marshaller.Free (path_ptr);
+                }
+            }
+        }
+        
+        public void Delete (string directory)
+        {
+            Delete (directory, false);
+        }
+        
+        public void Delete (string directory, bool recursive)
+        {
+            UnixDirectoryInfo unix_dir = new UnixDirectoryInfo (directory);
+            unix_dir.Delete (recursive);
+        }
+        
+        public bool Exists (string directory)
+        {
+            try {
+                FileStat stat = new FileStat (directory);
+                return stat.IsDirectory;
+            } catch {
+                return false;
+            }
+        }
+        
+        public IEnumerable<string> GetFiles (string directory)
+        {
+            UnixDirectoryInfo unix_dir = new UnixDirectoryInfo (directory);
+            foreach (UnixFileSystemInfo entry in unix_dir.GetFileSystemEntries ()) {
+                if (!entry.IsDirectory && entry.IsRegularFile && !entry.IsSocket && entry.Exists) {
+                    yield return entry.FullName;
+                }
+            }
+        }
+        
+        public IEnumerable<string> GetDirectories (string directory)
+        {
+            UnixDirectoryInfo unix_dir = new UnixDirectoryInfo (directory);
+            foreach (UnixFileSystemInfo entry in unix_dir.GetFileSystemEntries ()) {
+                if (entry.IsDirectory && entry.Exists && !entry.IsSocket) {
+                    yield return entry.FullName;
+                }
+            }
+        }
+        
+        public void Move (SafeUri from, SafeUri to)
+        {
+            Mono.Unix.Native.Stdlib.rename (from.LocalPath, to.LocalPath);
+        }
+    }
+}

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/File.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/File.cs	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,105 @@
+//
+// File.cs
+//
+// Author:
+//   Aaron Bockover <abockover novell com>
+//
+// Copyright (C) 2006-2008 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.IO;
+using Mono.Unix;
+using Mono.Unix.Native;
+
+using Banshee.Base;
+
+namespace Banshee.IO.Unix
+{
+    internal struct FileStat
+    {
+        private Stat buf;
+        private bool is_directory;
+        private bool is_regular_file;
+        
+        internal FileStat (string path)
+        {
+            buf = new Stat ();
+            is_directory = is_regular_file = Syscall.stat (path, out buf) == 0;
+            is_regular_file &= (buf.st_mode & FilePermissions.S_IFREG) == FilePermissions.S_IFREG;
+            is_directory &= (buf.st_mode & FilePermissions.S_IFDIR) == FilePermissions.S_IFDIR;
+            // FIXME: workaround for http://bugzilla.ximian.com/show_bug.cgi?id=76966
+            is_directory &= ! ((buf.st_mode & FilePermissions.S_IFSOCK) == FilePermissions.S_IFSOCK);
+        }
+        
+        internal bool IsDirectory {
+            get { return is_directory; }
+        }
+        
+        internal bool IsRegularFile {
+            get { return is_regular_file; }
+        }
+    }
+
+    public class File : IFile
+    {
+        public void Delete (SafeUri uri)
+        {
+            UnixFileInfo info = new UnixFileInfo (uri.LocalPath);
+            info.Delete ();
+        }
+
+        public bool Exists (SafeUri uri)
+        {
+            FileStat stat = new FileStat (uri.LocalPath);
+            return stat.IsRegularFile && !stat.IsDirectory;
+        }
+        
+        public void Move (SafeUri from, SafeUri to)
+        {
+            Mono.Unix.Native.Stdlib.rename (from.LocalPath, to.LocalPath);
+        }
+        
+        public Stream OpenRead (SafeUri uri)
+        {
+            return new UnixFileInfo (uri.LocalPath).OpenRead ();
+        }
+        
+        public Stream OpenWrite (SafeUri uri, bool overwrite)
+        {
+            return overwrite 
+                ? new UnixFileInfo (uri.LocalPath).Open (FileMode.Create, FileAccess.ReadWrite, FilePermissions.DEFFILEMODE)
+                : new UnixFileInfo (uri.LocalPath).OpenWrite ();
+        }
+        
+        public long GetSize (SafeUri uri)
+        {
+            try {
+                Mono.Unix.Native.Stat stat;
+                Mono.Unix.Native.Syscall.lstat (uri.LocalPath, out stat);
+                return stat.st_size;
+            } catch {
+                return -1;
+            }
+        }
+    }
+}

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Provider.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.IO.Unix/Provider.cs	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,47 @@
+//
+// Provider.cs
+//
+// Author:
+//   Aaron Bockover <abockover novell com>
+//
+// Copyright (C) 2008 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+
+namespace Banshee.IO.Unix
+{
+    public class Provider : Banshee.IO.IProvider
+    {
+    	public Type FileProvider { 
+    	    get { return typeof (File); }
+    	}
+
+    	public Type DirectoryProvider {
+    	    get { return typeof (Directory); }
+    	}
+
+    	public Type DemuxVfsProvider {
+    	    get { return typeof (DemuxVfs); }
+    	}
+    }
+}

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.addin.xml
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.addin.xml	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Addin 
+    id="Banshee.Unix"
+    version="1.0"
+    compatVersion="1.0"
+    copyright="Â 2008 Novell Inc. Licensed under the MIT X11 license."
+    name=""
+    category=""
+    description=""
+    author=""
+    url="http://banshee-project.org/";
+    defaultEnabled="true">
+
+  <Dependencies>
+    <Addin id="Banshee.Core" version="1.0"/>
+  </Dependencies>
+
+  <Extension path="/Banshee/Platform/IOProvider">
+    <IOProvider class="Banshee.IO.Unix.Provider" id="Banshee.IO.Unix.Provider" />
+  </Extension>
+
+</Addin>

Added: trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.mdp
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Banshee.Unix.mdp	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,31 @@
+<Project name="Banshee.Unix" fileversion="2.0" language="C#" clr-version="Net_2_0" ctype="DotNetProject">
+  <Configurations active="Debug">
+    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+      <Output directory="../../../bin" assemblyKeyFile="." assembly="Banshee.Unix" />
+      <Build debugmode="True" target="Library" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+  </Configurations>
+  <Contents>
+    <File name="Banshee.Unix.addin.xml" subtype="Code" buildaction="EmbedAsResource" />
+    <File name="Banshee.IO.Unix/DemuxVfs.cs" subtype="Code" buildaction="Compile" />
+    <File name="Banshee.IO.Unix/Directory.cs" subtype="Code" buildaction="Compile" />
+    <File name="Banshee.IO.Unix/File.cs" subtype="Code" buildaction="Compile" />
+    <File name="Banshee.IO.Unix/Provider.cs" subtype="Code" buildaction="Compile" />
+  </Contents>
+  <References>
+    <ProjectReference type="Project" localcopy="True" refto="Banshee.Core" />
+    <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+    <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+  </References>
+  <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" RelativeMakefileName="./Makefile.am">
+    <BuildFilesVar Sync="True" Name="SOURCES" />
+    <DeployFilesVar />
+    <ResourcesVar Sync="True" Name="RESOURCES" />
+    <OthersVar />
+    <GacRefVar />
+    <AsmRefVar />
+    <ProjectRefVar />
+  </MonoDevelop.Autotools.MakefileInfo>
+</Project>
\ No newline at end of file

Added: trunk/banshee/src/Backends/Banshee.Unix/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Backends/Banshee.Unix/Makefile.am	Thu Feb  7 07:01:17 2008
@@ -0,0 +1,14 @@
+ASSEMBLY = Banshee.Unix
+TARGET = library
+LINK = $(REF_BACKEND_UNIX)
+
+SOURCES =  \
+	Banshee.IO.Unix/DemuxVfs.cs \
+	Banshee.IO.Unix/Directory.cs \
+	Banshee.IO.Unix/File.cs \
+	Banshee.IO.Unix/Provider.cs
+
+RESOURCES = Banshee.Unix.addin.xml
+
+include $(top_srcdir)/build/build.mk
+

Modified: trunk/banshee/src/Backends/Makefile.am
==============================================================================
--- trunk/banshee/src/Backends/Makefile.am	(original)
+++ trunk/banshee/src/Backends/Makefile.am	Thu Feb  7 07:01:17 2008
@@ -1,6 +1,7 @@
 SUBDIRS = \
 	Banshee.Gnome \
-	Banshee.GStreamer
+	Banshee.GStreamer \
+	Banshee.Unix
 
 MAINTAINERCLEANFILES = Makefile.in
 

Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.Core.mdp
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.Core.mdp	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.Core.mdp	Thu Feb  7 07:01:17 2008
@@ -25,7 +25,6 @@
     <File name="Banshee.Collection/TrackInfo.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.IO/IProvider.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.IO/Provider.cs" subtype="Code" buildaction="Compile" />
-    <File name="Banshee.IO/UnixIOProvider.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.IO/Utilities.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Base/ApplicationContext.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Collection/FileTrackInfo.cs" subtype="Code" buildaction="Compile" />

Modified: trunk/banshee/src/Core/Banshee.Core/Makefile.am
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Makefile.am	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Makefile.am	Thu Feb  7 07:01:17 2008
@@ -47,7 +47,6 @@
 	Banshee.IO/IProvider.cs \
 	Banshee.IO/Provider.cs \
 	Banshee.IO/StreamAssist.cs \
-	Banshee.IO/UnixIOProvider.cs \
 	Banshee.IO/Utilities.cs \
 	Banshee.Kernel/IInstanceCriticalJob.cs \
 	Banshee.Kernel/IJob.cs \

Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Services.addin.xml
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Services.addin.xml	(original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Services.addin.xml	Thu Feb  7 07:01:17 2008
@@ -16,12 +16,4 @@
     <ExtensionNode name="PlayerEngine"/>
   </ExtensionPoint>
 
-  <ExtensionPoint path="/Banshee/Platform/IOProvider">
-    <ExtensionNode name="IOProvider"/>
-  </ExtensionPoint>
-
-  <ExtensionPoint path="/Banshee/Platform/ConfigurationProvider">
-    <ExtensionNode name="ConfigurationProvider"/>
-  </ExtensionPoint>
-
 </Addin>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]