[banshee: 11/27] [lastfm] Move ILastfmInfo to Lastfm.Data
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee: 11/27] [lastfm] Move ILastfmInfo to Lastfm.Data
- Date: Sat, 22 May 2010 18:52:29 +0000 (UTC)
commit ebf54654627e42ddd28961afea243c13939bc4ed
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Apr 11 15:11:39 2010 +0200
[lastfm] Move ILastfmInfo to Lastfm.Data
Having that interface in the Lastfm library makes more sense, and we can
avoid unnecessary dependencies between the Lastfm and LastfmStreaming
extensions.
.../Banshee.Lastfm.Audioscrobbler/Queue.cs | 2 +-
.../Banshee.Lastfm/Banshee.Lastfm.csproj | 1 -
src/Extensions/Banshee.Lastfm/Makefile.am | 1 -
.../LastfmTrackInfo.cs | 1 +
.../Lastfm/Lastfm.Data}/ILastfmInfo.cs | 2 +-
src/Libraries/Lastfm/Lastfm.csproj | 1 +
src/Libraries/Lastfm/Makefile.am | 1 +
7 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs
index c147b65..f3628a1 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs
@@ -44,7 +44,7 @@ using Banshee.ServiceStack;
using Banshee.Sources;
using Lastfm;
-using Banshee.Lastfm.Radio;
+using Lastfm.Data;
namespace Banshee.Lastfm.Audioscrobbler
{
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.csproj b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.csproj
index 5fa1728..3e444d5 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.csproj
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.csproj
@@ -96,7 +96,6 @@
<Compile Include="Banshee.Lastfm.Recommendations\ContextPage.cs" />
<Compile Include="Banshee.Lastfm.Recommendations\RecommendationPane.cs" />
<Compile Include="Banshee.Lastfm.Recommendations\SimilarArtistTile.cs" />
- <Compile Include="Banshee.Lastfm.Radio\ILastfmInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Banshee.Lastfm.addin.xml">
diff --git a/src/Extensions/Banshee.Lastfm/Makefile.am b/src/Extensions/Banshee.Lastfm/Makefile.am
index 2412f68..68768f5 100644
--- a/src/Extensions/Banshee.Lastfm/Makefile.am
+++ b/src/Extensions/Banshee.Lastfm/Makefile.am
@@ -6,7 +6,6 @@ INSTALL_DIR = $(EXTENSIONS_INSTALL_DIR)
SOURCES = \
Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs \
Banshee.Lastfm.Audioscrobbler/Queue.cs \
- Banshee.Lastfm.Radio/ILastfmInfo.cs \
Banshee.Lastfm.Radio/LastfmActions.cs \
Banshee.Lastfm.Radio/LastfmColumnController.cs \
Banshee.Lastfm.Radio/LastfmSource.cs \
diff --git a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmTrackInfo.cs b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmTrackInfo.cs
index 545b7a2..7515630 100644
--- a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmTrackInfo.cs
+++ b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmTrackInfo.cs
@@ -34,6 +34,7 @@ using System.Web;
using Gdk;
using Hyena;
+using Lastfm.Data;
using Banshee.Base;
using Banshee.Collection;
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/ILastfmInfo.cs b/src/Libraries/Lastfm/Lastfm.Data/ILastfmInfo.cs
similarity index 76%
rename from src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/ILastfmInfo.cs
rename to src/Libraries/Lastfm/Lastfm.Data/ILastfmInfo.cs
index fa5374c..e32068f 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/ILastfmInfo.cs
+++ b/src/Libraries/Lastfm/Lastfm.Data/ILastfmInfo.cs
@@ -1,7 +1,7 @@
using System;
-namespace Banshee.Lastfm.Radio
+namespace Lastfm.Data
{
public interface ILastfmInfo
{
diff --git a/src/Libraries/Lastfm/Lastfm.csproj b/src/Libraries/Lastfm/Lastfm.csproj
index b4fe90e..ff31624 100644
--- a/src/Libraries/Lastfm/Lastfm.csproj
+++ b/src/Libraries/Lastfm/Lastfm.csproj
@@ -69,6 +69,7 @@
<Compile Include="Lastfm.Data\LastfmUserData.cs" />
<Compile Include="Lastfm.Data\LastfmAlbumData.cs" />
<Compile Include="Lastfm\LastfmRequest.cs" />
+ <Compile Include="Lastfm.Data\ILastfmInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
diff --git a/src/Libraries/Lastfm/Makefile.am b/src/Libraries/Lastfm/Makefile.am
index ff8b405..7681cf1 100644
--- a/src/Libraries/Lastfm/Makefile.am
+++ b/src/Libraries/Lastfm/Makefile.am
@@ -6,6 +6,7 @@ SOURCES = \
Lastfm.Data/DataCore.cs \
Lastfm.Data/DataEntry.cs \
Lastfm.Data/DataEntryCollection.cs \
+ Lastfm.Data/ILastfmInfo.cs \
Lastfm.Data/LastfmAlbumData.cs \
Lastfm.Data/LastfmArtistData.cs \
Lastfm.Data/LastfmData.cs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]