banshee r3040 - trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3040 - trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist
- Date: Sun, 27 Jan 2008 04:19:08 +0000 (GMT)
Author: abock
Date: Sun Jan 27 04:19:08 2008
New Revision: 3040
URL: http://svn.gnome.org/viewvc/banshee?rev=3040&view=rev
Log:
Update some copyright and whitespace stuff
Modified:
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs Sun Jan 27 04:19:08 2008
@@ -5,7 +5,7 @@
// Aaron Bockover <abockover novell com>
// Gabriel Burt <gburt novell com>
//
-// Copyright (C) 2005-2007 Novell, Inc.
+// Copyright (C) 2005-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -83,11 +83,13 @@
}
}
- public AbstractPlaylistSource (string generic_name, string name) : this (generic_name, name, null, -1, 0)
+ public AbstractPlaylistSource (string generic_name, string name)
+ : this (generic_name, name, null, -1, 0)
{
}
- public AbstractPlaylistSource (string generic_name, string name, int? dbid, int sortColumn, int sortType) : base (generic_name, name, Convert.ToString (dbid), 500)
+ public AbstractPlaylistSource (string generic_name, string name, int? dbid, int sortColumn, int sortType)
+ : base (generic_name, name, Convert.ToString (dbid), 500)
{
Properties.SetString ("IconName", IconName);
}
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs Sun Jan 27 04:19:08 2008
@@ -1,11 +1,11 @@
//
// PlaylistSource.cs
//
-// Author:
+// Authors:
// Aaron Bockover <abockover novell com>
// Gabriel Burt <gburt novell com>
//
-// Copyright (C) 2005-2007 Novell, Inc.
+// Copyright (C) 2005-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -70,7 +70,8 @@
get { return "source-playlist"; }
}
- static PlaylistSource () {
+ static PlaylistSource ()
+ {
add_tracks_command = new BansheeDbCommand (@"
INSERT INTO CorePlaylistEntries
SELECT null, ?, ItemID, 0
@@ -95,7 +96,8 @@
{
}
- public PlaylistSource (string name, int? dbid, int sortColumn, int sortType) : base (generic_name, name, dbid, sortColumn, sortType)
+ public PlaylistSource (string name, int? dbid, int sortColumn, int sortType)
+ : base (generic_name, name, dbid, sortColumn, sortType)
{
Properties.SetString ("RemoveTracksActionLabel", Catalog.GetString ("Remove From Playlist"));
Properties.SetString ("UnmapSourceActionLabel", Catalog.GetString ("Delete Playlist"));
@@ -218,7 +220,7 @@
}
}
- public static class PlaylistUtil
+ internal static class PlaylistUtil
{
/*internal static int GetPlaylistID(string name)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]