searchfw/plugins/filesplugin/src/filessearcher.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
equal deleted inserted replaced
0:f979ecb2b13e 5:42814f902fe6
   338 	searchResult = CSearchLightResult::NewL( searchDocId );
   338 	searchResult = CSearchLightResult::NewL( searchDocId );
   339 	searchResult->SetServiceId( KNullUid );	
   339 	searchResult->SetServiceId( KNullUid );	
   340 	//Set the content class Id as KSearchCClassFilenamesUid
   340 	//Set the content class Id as KSearchCClassFilenamesUid
   341 	searchResult->SetContentClassId( KSearchCClassFilenamesUid );
   341 	searchResult->SetContentClassId( KSearchCClassFilenamesUid );
   342 	//If file is found from memory card
   342 	//If file is found from memory card
   343 	_LIT( KMemCard, "E:" );
   343 	_LIT( KMemCard, "F:" );
   344 	TInt found = path->Find( KMemCard );
   344 	TInt found = path->Find( KMemCard );
   345 	if ( !found )
   345 	if ( !found )
   346 	    {
   346 	    {
   347 		//Set subcontentId as KSearchCSubContentMMCUid
   347 		//Set subcontentId as KSearchCSubContentMMCUid
   348 		searchResult->SetSubContentId( KSearchCSubContentMMCUid.iUid );
   348 		searchResult->SetSubContentId( KSearchCSubContentMMCUid.iUid );