contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h
changeset 80 397d00875918
parent 73 4bc7b118b3df
child 83 156f692b1687
--- a/contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h	Fri May 14 16:10:06 2010 +0300
+++ b/contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h	Thu May 27 13:11:12 2010 +0300
@@ -24,8 +24,10 @@
 
 //  INCLUDES
 #include <e32base.h>
+#include <usif/scr/scr.h>
 #include "cawidgetdescription.h"
 #include "castorage_global.h"
+
 // CONSTANTS
 
 // FORWARD DECLARATIONS
@@ -129,6 +131,16 @@
      */
     TBool MassStorageNotInUse();
 
+    /**
+     * Adds or updates component id attribute in entry based on SCR provided data
+     * @param aPackageUid uid of the package which the widget represented by aEntry
+     * is delivered with
+     * @param aEntry widget entry being updated with component id attribute.
+     */
+    void UpdateComponentIdL( const TDesC& aManifestFilePathName, 
+        CCaInnerEntry& aEntry ) const;
+
+
 private:
     // Data
 
@@ -151,8 +163,9 @@
      * Indexes updated during last add operation. Own.
      */
     RArray<TInt> iUpdatedIndexes;
+    
 
-
+    Usif::RSoftwareComponentRegistry iSoftwareRegistry;
     };
 
 #endif      // C_WIDGETSTORAGEHANDLER_H