[tasque] Rename AbstractTask to Task



commit ebf6dcd3cc5715886071d2ead411c526551a6228
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sun Jan 27 18:08:09 2013 +0100

    Rename AbstractTask to Task

 src/Addins/Backends/Dummy/DummyTask.cs     |    2 +-
 src/Addins/Backends/Hiveminder/HmTask.cs   |    2 +-
 src/Addins/Backends/Rtm/RtmTask.cs         |    8 ++++----
 src/Addins/Backends/Sqlite/SqliteTask.cs   |    2 +-
 src/libtasque/{AbstractTask.cs => Task.cs} |    2 +-
 src/libtasque/libtasque.csproj             |    2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/Addins/Backends/Dummy/DummyTask.cs b/src/Addins/Backends/Dummy/DummyTask.cs
index fb3423c..e0f5dee 100644
--- a/src/Addins/Backends/Dummy/DummyTask.cs
+++ b/src/Addins/Backends/Dummy/DummyTask.cs
@@ -7,7 +7,7 @@ using System.Collections.Generic;
 
 namespace Tasque.Backends.Dummy
 {
-	public class DummyTask : AbstractTask
+	public class DummyTask : Task
 	{
 		DummyBackend backend;
 		string name;
diff --git a/src/Addins/Backends/Hiveminder/HmTask.cs b/src/Addins/Backends/Hiveminder/HmTask.cs
index 00f53b4..c974af9 100644
--- a/src/Addins/Backends/Hiveminder/HmTask.cs
+++ b/src/Addins/Backends/Hiveminder/HmTask.cs
@@ -34,7 +34,7 @@ using Hiveminder;
 
 namespace Tasque.Backends.HmBackend
 {
-	public class HmTask : AbstractTask
+	public class HmTask : Task
 	{
 		Task task;
 
diff --git a/src/Addins/Backends/Rtm/RtmTask.cs b/src/Addins/Backends/Rtm/RtmTask.cs
index 850ac8e..1282bdd 100644
--- a/src/Addins/Backends/Rtm/RtmTask.cs
+++ b/src/Addins/Backends/Rtm/RtmTask.cs
@@ -7,7 +7,7 @@ using System.Collections.Generic;
 
 namespace Tasque.Backends.Rtm
 {
-	public class RtmTask : AbstractTask
+	public class RtmTask : Task
 	{
 		private RtmBackend rtmBackend;
 		private TaskState state;
@@ -15,7 +15,7 @@ namespace Tasque.Backends.Rtm
 		private List<INote> notes;		
 
 		TaskSeries taskSeries;
-		Task task;
+		RtmNet.Task task;
 		
 		/// <summary>
 		/// Constructor that is created from an RTM Task Series
@@ -23,13 +23,13 @@ namespace Tasque.Backends.Rtm
 		/// <param name="taskSeries">
 		/// A <see cref="TaskSeries"/>
 		/// </param>
-		public RtmTask(TaskSeries taskSeries, Task task, RtmBackend be, string listID)
+		public RtmTask(TaskSeries taskSeries, RtmNet.Task task, RtmBackend be, string listID)
 		{
 			this.taskSeries = taskSeries;
 			this.rtmBackend = be;
 			this.category = be.GetCategory(listID);
 			this.task = task;
-			
+
 			if(CompletionDate == DateTime.MinValue )
 				state = TaskState.Active;
 			else
diff --git a/src/Addins/Backends/Sqlite/SqliteTask.cs b/src/Addins/Backends/Sqlite/SqliteTask.cs
index 44eea90..513aa8f 100644
--- a/src/Addins/Backends/Sqlite/SqliteTask.cs
+++ b/src/Addins/Backends/Sqlite/SqliteTask.cs
@@ -8,7 +8,7 @@ using Mono.Data.Sqlite;
 
 namespace Tasque.Backends.Sqlite
 {
-	public class SqliteTask : AbstractTask
+	public class SqliteTask : Task
 	{
 		private SqliteBackend backend;
 		private int id;
diff --git a/src/libtasque/AbstractTask.cs b/src/libtasque/Task.cs
similarity index 98%
rename from src/libtasque/AbstractTask.cs
rename to src/libtasque/Task.cs
index 9e2cc3d..b7cfac0 100644
--- a/src/libtasque/AbstractTask.cs
+++ b/src/libtasque/Task.cs
@@ -7,7 +7,7 @@ using System.ComponentModel;
 
 namespace Tasque
 {
-	public abstract class AbstractTask : ITask
+	public abstract class Task : ITask
 	{
 		#region Properties
 		public abstract string Id
diff --git a/src/libtasque/libtasque.csproj b/src/libtasque/libtasque.csproj
index 50fd545..b071a42 100644
--- a/src/libtasque/libtasque.csproj
+++ b/src/libtasque/libtasque.csproj
@@ -74,13 +74,13 @@
     <Compile Include="TaskGroupModel.cs" />
     <Compile Include="TaskGroupModelFactory.cs" />
     <Compile Include="CompletedTaskGroupModel.cs" />
-    <Compile Include="AbstractTask.cs" />
     <Compile Include="CategoryComparer.cs" />
     <Compile Include="TaskComparer.cs" />
     <Compile Include="AllCategory.cs" />
     <Compile Include="IPreferences.cs" />
     <Compile Include="PreferencesKeys.cs" />
     <Compile Include="NoteSupport.cs" />
+    <Compile Include="Task.cs" />
   </ItemGroup>
   <ItemGroup>
     <Folder Include="DateFormatters\" />



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