contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h
changeset 94 dbb8300717f7
parent 93 82b66994846c
child 96 5d243a69bdda
--- a/contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h	Fri Apr 30 15:22:08 2010 +0300
+++ b/contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h	Fri May 14 17:24:44 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