[blam] Initial code for the ItemStore class



commit a2766de9556b16765058265b1fe7a53b24d3af46
Author: Carlos Martín Nieto <carlos cmartin tk>
Date:   Tue Sep 14 17:06:44 2010 +0100

    Initial code for the ItemStore class

 src/ItemStore.cs |   21 +++++++++++++++++++++
 src/Makefile.am  |    3 ++-
 2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/src/ItemStore.cs b/src/ItemStore.cs
new file mode 100644
index 0000000..7bc5099
--- /dev/null
+++ b/src/ItemStore.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections;
+using System.ServiceModel.Syndication;
+
+namespace Imendio.Blam
+{
+    public class ItemStore
+    {
+       Hashtable items;
+
+        void Add(SyndicationItem item)
+        {
+            items.Add(item.Id, item);
+        }
+
+       public ItemStore ()
+       {
+       }
+    }
+}
+
diff --git a/src/Makefile.am b/src/Makefile.am
index b57c4ba..d3ed79d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,7 +34,8 @@ BLAM_CSFILES = Application.cs \
 	       ThemeManager.cs \
 	       TrayIcon.cs \
 	       Utils.cs \
-	       Proxy.cs
+	       Proxy.cs \
+	       ItemStore.cs
 
 GENERATED_CSFILES = \
 	       Defines.cs



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