harvester/monitorplugins/mmcplugin/src/mmcfilelist.cpp
branchRCL_3
changeset 12 9f21bab39f42
parent 10 ab88d4a85041
child 13 4a4892eec172
equal deleted inserted replaced
10:ab88d4a85041 12:9f21bab39f42
   155 					
   155 					
   156 					if ( IsDescInArray( pathOnly, iIgnorePaths ) )
   156 					if ( IsDescInArray( pathOnly, iIgnorePaths ) )
   157 						{
   157 						{
   158 						continue;
   158 						continue;
   159 						}
   159 						}
       
   160 					
       
   161                     // check if folder is hidden or system folder
       
   162                     TUint att = 0;
       
   163                     TInt attErr = aFs.Att( name, att );
       
   164                     if ( attErr == KErrNone )
       
   165                         {
       
   166                         if ( att & KEntryAttHidden || att & KEntryAttSystem )
       
   167                             {
       
   168                             continue;
       
   169                             }
       
   170                         }
   160 
   171 
   161 					path->AppendL( name );
   172 					path->AppendL( name );
   162 					}
   173 					}
   163 				else
   174 				else
   164 					{
   175 					{
       
   176 			        // check if file is hidden or system file
       
   177 				    TUint att = 0;
       
   178 			        TInt attErr = aFs.Att( name, att );
       
   179 			        if ( attErr == KErrNone )
       
   180 			            {
       
   181 			            if ( att & KEntryAttHidden || att & KEntryAttSystem )
       
   182 			                {
       
   183 			                continue;
       
   184 			                }
       
   185 			            }
       
   186 				
   165 					CPlaceholderData* phData = CPlaceholderData::NewL();
   187 					CPlaceholderData* phData = CPlaceholderData::NewL();
   166 					CleanupStack::PushL( phData );
   188 					CleanupStack::PushL( phData );
   167 					phData->SetUri( name );
   189 					phData->SetUri( name );
   168 					phData->SetModified( entry.iModified );
   190 					phData->SetModified( entry.iModified );
   169 					phData->SetFileSize( entry.iSize );
   191 					phData->SetFileSize( entry.iSize );