[tasque/transition: 69/213] Cleanups and addition of license headers.



commit fdbf8c77b451d19220d3d6df8ea85ba59361860d
Author: Antonius Riha <antoniusriha gmail com>
Date:   Mon Jul 9 16:10:55 2012 +0200

    Cleanups and addition of license headers.

 src/libtasque/IBackend.cs                  |   12 ++-------
 src/tasque/AbstractTask.cs                 |   26 ++++++++++++++++++++-
 src/tasque/AllCategory.cs                  |   30 ++++++++++++++++++++++--
 src/tasque/Backends/Dummy/DummyBackend.cs  |   34 +++++++++++++++++++++++-----
 src/tasque/Backends/Dummy/DummyCategory.cs |   30 ++++++++++++++++++++++--
 src/tasque/TaskGroupModel.cs               |    1 -
 6 files changed, 110 insertions(+), 23 deletions(-)
---
diff --git a/src/libtasque/IBackend.cs b/src/libtasque/IBackend.cs
index 2917256..01f18de 100644
--- a/src/libtasque/IBackend.cs
+++ b/src/libtasque/IBackend.cs
@@ -1,9 +1,7 @@
 // ITaskBackend.cs created with MonoDevelop
 // User: boyd at 7:02 AMÂ2/11/2008
 
-using System;
 using System.Collections.ObjectModel;
-using System.Collections.Generic;
 using System.Collections;
 
 namespace Tasque.Backends
@@ -35,13 +33,9 @@ namespace Tasque.Backends
 		/// <value>
 		/// All the tasks provided by the backend.
 		/// </value>
-		ObservableCollection<ITask> Tasks {
-			get;
-		}
+		ObservableCollection<ITask> Tasks {	get; }
 
-		IEnumerable SortedTasks {
-			get;
-		}
+		IEnumerable SortedTasks { get; }
 		
 		/// <value>
 		/// This returns all the ICategory items from the backend.
@@ -105,6 +99,6 @@ namespace Tasque.Backends
 		/// </returns>
 		Gtk.Widget GetPreferencesWidget ();
 
-#endregion // Methods
+		#endregion // Methods
 	}
 }
diff --git a/src/tasque/AbstractTask.cs b/src/tasque/AbstractTask.cs
index d59d896..4e5bd58 100644
--- a/src/tasque/AbstractTask.cs
+++ b/src/tasque/AbstractTask.cs
@@ -1,6 +1,30 @@
 // AbstractTask.cs created with MonoDevelop
 // User: boyd at 6:52 AMÂ2/12/2008
-
+// 
+// AbstractTask.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// 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.Collections.Generic;
 using System.ComponentModel;
diff --git a/src/tasque/AllCategory.cs b/src/tasque/AllCategory.cs
index dc45b56..b72706d 100644
--- a/src/tasque/AllCategory.cs
+++ b/src/tasque/AllCategory.cs
@@ -1,9 +1,33 @@
 // AllCategory.cs created with MonoDevelop
 // User: boyd at 3:45 PMÂ2/12/2008
-
-using System;
+// 
+// AllCategory.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// 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.Collections.Generic;
 using Mono.Unix;
+using System.ComponentModel;
 
 namespace Tasque
 {
@@ -42,7 +66,7 @@ namespace Tasque
 			return (!categoriesToHide.Contains (category.Name));
 		}
 		
-		private void OnSettingChanged (Preferences preferences, string settingKey)
+		void OnSettingChanged (Preferences preferences, string settingKey)
 		{
 			if (settingKey.CompareTo (Preferences.HideInAllCategory) != 0)
 				return;
diff --git a/src/tasque/Backends/Dummy/DummyBackend.cs b/src/tasque/Backends/Dummy/DummyBackend.cs
index fa04125..2a394fc 100644
--- a/src/tasque/Backends/Dummy/DummyBackend.cs
+++ b/src/tasque/Backends/Dummy/DummyBackend.cs
@@ -1,12 +1,37 @@
 // DummyBackend.cs created with MonoDevelop
 // User: boyd at 7:10 AMÂ2/11/2008
+// 
+// DummyBackend.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// 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 Tasque.Backends;
+using System.Collections;
 using System.Collections.ObjectModel;
-using CollectionTransforms;
 using System.ComponentModel;
-using System.Collections;
+using CollectionTransforms;
+using Tasque.Backends;
 
 namespace Tasque.Backends.Dummy
 {
@@ -265,8 +290,5 @@ namespace Tasque.Backends.Dummy
 //			}
 		}
 		#endregion // Private Methods
-		
-		#region Event Handlers
-		#endregion // Event Handlers
 	}
 }
diff --git a/src/tasque/Backends/Dummy/DummyCategory.cs b/src/tasque/Backends/Dummy/DummyCategory.cs
index 2d68ee1..125eaae 100644
--- a/src/tasque/Backends/Dummy/DummyCategory.cs
+++ b/src/tasque/Backends/Dummy/DummyCategory.cs
@@ -3,15 +3,39 @@
 //
 // To change standard headers go to Edit->Preferences->Coding->Standard Headers
 //
-
-using System;
+// 
+// DummyCategory.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// 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 Tasque;
+using System.ComponentModel;
 
 namespace Tasque.Backends.Dummy
 {
 	public class DummyCategory : ICategory
 	{
-		private string name;
+		string name;
 		
 		public DummyCategory (string name)
 		{
diff --git a/src/tasque/TaskGroupModel.cs b/src/tasque/TaskGroupModel.cs
index 5ee4e95..b04ed17 100644
--- a/src/tasque/TaskGroupModel.cs
+++ b/src/tasque/TaskGroupModel.cs
@@ -53,7 +53,6 @@ namespace Tasque
 			TimeRangeEnd = rangeEnd;
 
 			Filter = FilterTasks;
-			int i = 5;
 		}
 		
 		public void SetRange (DateTime rangeStart, DateTime rangeEnd)



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