photosgallery/collectionframework/plugins/glxcollectionpluginmonths/src/glxcollectionpluginmonths.cpp
branchRCL_3
changeset 35 420f6808bf21
parent 30 a60acebbbd9d
child 47 f9e827349359
--- a/photosgallery/collectionframework/plugins/glxcollectionpluginmonths/src/glxcollectionpluginmonths.cpp	Tue May 25 12:42:31 2010 +0300
+++ b/photosgallery/collectionframework/plugins/glxcollectionpluginmonths/src/glxcollectionpluginmonths.cpp	Wed Jun 09 09:41:51 2010 +0300
@@ -537,6 +537,10 @@
                 	// Set the title in the response.
             		aResponse->SetTextValueL(attr, *tempTitle);
             		CleanupStack::PopAndDestroy(tempTitle);
+					
+            		// Set the count in the response.
+            		aResponse->SetTObjectValueL(KMPXMediaGeneralCount, usageCount);    
+
             		continue;
             		}
 
@@ -547,6 +551,10 @@
 
                     aResponse->SetTextValueL(attr, *tempTitle);
                     CleanupStack::PopAndDestroy(tempTitle);
+					
+            		// Set the count in the response.
+            		aResponse->SetTObjectValueL(KMPXMediaGeneralCount, usageCount);    
+					
                     continue;
                     }
                 else
@@ -565,6 +573,9 @@
                 // Set the title in the response.
                 aResponse->SetTextValueL(attr, *title);    
 
+                // Set the count in the response.
+                aResponse->SetTObjectValueL(KMPXMediaGeneralCount, usageCount);    
+
                 CleanupStack::PopAndDestroy(title);
                 CleanupStack::PopAndDestroy(tempTitle);	
 #endif