contentstorage/casrv/cawidgetscanner/inc/cawidgetstoragehandler.h
changeset 94 dbb8300717f7
parent 93 82b66994846c
child 96 5d243a69bdda
equal deleted inserted replaced
93:82b66994846c 94:dbb8300717f7
    22 class CCaStorageProxy;
    22 class CCaStorageProxy;
    23 class CCaWidgetDescription;
    23 class CCaWidgetDescription;
    24 
    24 
    25 //  INCLUDES
    25 //  INCLUDES
    26 #include <e32base.h>
    26 #include <e32base.h>
       
    27 #include <usif/scr/scr.h>
    27 #include "cawidgetdescription.h"
    28 #include "cawidgetdescription.h"
    28 #include "castorage_global.h"
    29 #include "castorage_global.h"
       
    30 
    29 // CONSTANTS
    31 // CONSTANTS
    30 
    32 
    31 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    32 
    34 
    33 /**
    35 /**
   127      * Check if mass storage is not in use.
   129      * Check if mass storage is not in use.
   128      * @return true if mass storage is not in use.
   130      * @return true if mass storage is not in use.
   129      */
   131      */
   130     TBool MassStorageNotInUse();
   132     TBool MassStorageNotInUse();
   131 
   133 
       
   134     /**
       
   135      * Adds or updates component id attribute in entry based on SCR provided data
       
   136      * @param aPackageUid uid of the package which the widget represented by aEntry
       
   137      * is delivered with
       
   138      * @param aEntry widget entry being updated with component id attribute.
       
   139      */
       
   140     void UpdateComponentIdL( const TDesC& aManifestFilePathName, 
       
   141         CCaInnerEntry& aEntry ) const;
       
   142 
       
   143 
   132 private:
   144 private:
   133     // Data
   145     // Data
   134 
   146 
   135     /*
   147     /*
   136      * Content Storage. Not Own
   148      * Content Storage. Not Own
   149 
   161 
   150     /*
   162     /*
   151      * Indexes updated during last add operation. Own.
   163      * Indexes updated during last add operation. Own.
   152      */
   164      */
   153     RArray<TInt> iUpdatedIndexes;
   165     RArray<TInt> iUpdatedIndexes;
       
   166     
   154 
   167 
   155 
   168     Usif::RSoftwareComponentRegistry iSoftwareRegistry;
   156     };
   169     };
   157 
   170 
   158 #endif      // C_WIDGETSTORAGEHANDLER_H
   171 #endif      // C_WIDGETSTORAGEHANDLER_H
   159 // End of File
   172 // End of File