rygel r583 - trunk/src/plugins/tracker



Author: zeeshanak
Date: Sat Feb 14 15:27:43 2009
New Revision: 583
URL: http://svn.gnome.org/viewvc/rygel?rev=583&view=rev

Log:
Keep the results in an ArrayList.

Modified:
   trunk/src/plugins/tracker/rygel-tracker-container.vala

Modified: trunk/src/plugins/tracker/rygel-tracker-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-container.vala	Sat Feb 14 15:27:43 2009
@@ -48,6 +48,8 @@
     /* UPnP class of items under this container */
     public string child_class;
 
+    Gee.List<TrackerSearchResult> results;
+
     public TrackerContainer (string id,
                              string parent_id,
                              string title,
@@ -81,6 +83,9 @@
          *        this field up2date at all times
          */
         this.child_count = this.get_children_count ();
+
+
+        this.results = new Gee.ArrayList<TrackerSearchResult>();
     }
 
     private uint get_children_count () {
@@ -127,6 +132,8 @@
                            (int) offset,
                            (int) max_count,
                            res.search_result_ready);
+
+        this.results.add (res);
     }
 
     public override Gee.List<MediaObject>? get_children_finish (



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