filesystemuis/memscaneng/serversrc/msengregistryscanner.cpp
branchRCL_3
changeset 15 18e505e3f370
parent 0 6a9f87576119
equal deleted inserted replaced
14:efe289f793e7 15:18e505e3f370
   137     CleanupClosePushL(uids);
   137     CleanupClosePushL(uids);
   138     regSession.InstalledUidsL( uids );    
   138     regSession.InstalledUidsL( uids );    
   139 
   139 
   140     RPointerArray<Swi::CSisRegistryPackage> augmentations;
   140     RPointerArray<Swi::CSisRegistryPackage> augmentations;
   141     
   141     
   142     TInt totalSize(0);
   142     TInt64 totalSize(0);
   143     
   143     
   144     for ( TInt index(0); index < uids.Count(); index++ )
   144     for ( TInt index(0); index < uids.Count(); index++ )
   145     	{
   145     	{
   146         Swi::RSisRegistryEntry entry;
   146         Swi::RSisRegistryEntry entry;
   147         CleanupClosePushL(entry);
   147         CleanupClosePushL(entry);
   148         User::LeaveIfError( entry.Open( regSession, uids[index] ) );
   148         User::LeaveIfError( entry.Open( regSession, uids[index] ) );
   149 
   149 
   150 	    //All packages are from installed packages        
   150 	    //All packages are from installed packages        
   151 	    CMsengSisxInfo* appObj = CMsengSisxInfo::NewL( entry, iDrive );
   151 	    CMsengSisxInfo* appObj = CMsengSisxInfo::NewL( entry, iDrive );
   152 	    CleanupStack::PushL( appObj ); 
   152 	    CleanupStack::PushL( appObj ); 
   153 	    TInt baseSize( 0 );
   153 	    TInt64 baseSize( 0 );
   154 	    baseSize = entry.SizeL();
   154 	    baseSize = entry.SizeL();
   155 	    
   155 	    
   156         TRACES
   156         TRACES
   157         (
   157         (
   158         RDebug::Print(_L("ScanSisRegistryL, IsPresent, %d"), TInt( entry.IsPresentL()));    
   158         RDebug::Print(_L("ScanSisRegistryL, IsPresent, %d"), TInt( entry.IsPresentL()));