[tasque/viewmodel: 17/78] Mark some backend methods as obsolete.
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/viewmodel: 17/78] Mark some backend methods as obsolete.
- Date: Wed, 29 Aug 2012 18:36:05 +0000 (UTC)
commit 2d3f065681bcfb668b1e31745e9e1364b0b2a06d
Author: Antonius Riha <antoniusriha gmail com>
Date: Thu Jul 26 20:35:18 2012 +0200
Mark some backend methods as obsolete.
CreateTask and DeleteTask methods are only there for
the legacy (backend-centralized) Tasque app. A new
Tasque app will focus on task lists (categories in the model).
src/libtasque/Backend.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libtasque/Backend.cs b/src/libtasque/Backend.cs
index 270c9e4..6ac8919 100644
--- a/src/libtasque/Backend.cs
+++ b/src/libtasque/Backend.cs
@@ -118,6 +118,7 @@ namespace Tasque
/// <summary>
/// Create a new task.
/// </summary>
+ [Obsolete]
public Task CreateTask (string taskName, Category category)
{
if (category == null)
@@ -126,6 +127,7 @@ namespace Tasque
return CreateTask (taskName, new Category [] { category });
}
+ [Obsolete]
public Task CreateTask (string taskName, IEnumerable<Category> categories)
{
if (taskName == null)
@@ -151,6 +153,7 @@ namespace Tasque
return task;
}
+ [Obsolete]
public void DeleteTask (Task task)
{
if (task == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]