predictivesearch/PcsServer/src/CPcsPluginInterface.cpp
branchRCL_3
changeset 39 a6539d1e8e43
parent 21 b3431bff8c19
child 64 c1e8ba0c2b16
equal deleted inserted replaced
35:4ae315f230bc 39:a6539d1e8e43
   203     PRINT ( _L("Enter CPcsPluginInterface::SearchInputL") );
   203     PRINT ( _L("Enter CPcsPluginInterface::SearchInputL") );
   204 
   204 
   205     for ( TInt idx = 0; idx < iPcsPluginInstances.Count(); idx++ )
   205     for ( TInt idx = 0; idx < iPcsPluginInstances.Count(); idx++ )
   206     {
   206     {
   207        iPcsPluginInstances[idx]->SearchInputL( aSearchQuery,
   207        iPcsPluginInstances[idx]->SearchInputL( aSearchQuery,
   208                                                aSearchData,                                                  
   208                                                aSearchData,
   209                                                aMatchSet,
   209                                                aMatchSet,
   210                                                aMatchLocation );
   210                                                aMatchLocation );
   211     }
   211     }
   212     
   212     
   213     PRINT ( _L("End CPcsPluginInterface::SearchInputL") );
   213     PRINT ( _L("End CPcsPluginInterface::SearchInputL") );
   215 
   215 
   216 // ----------------------------------------------------------------------------
   216 // ----------------------------------------------------------------------------
   217 // CPcsPluginInterface::SearchMatchStringL
   217 // CPcsPluginInterface::SearchMatchStringL
   218 // Search
   218 // Search
   219 // ----------------------------------------------------------------------------      
   219 // ----------------------------------------------------------------------------      
   220 void CPcsPluginInterface::SearchMatchStringL(CPsQuery& aSearchQuery,
   220 void CPcsPluginInterface::SearchMatchStringL( CPsQuery& aSearchQuery,
   221                    TDesC& aSearchData,
   221                                               TDesC& aSearchData,
   222                    TDes& aMatch )
   222                                               TDes& aMatch )
   223 {  
   223 {  
   224     PRINT ( _L("Enter CPcsPluginInterface::SearchMatchStringL") );
   224     PRINT ( _L("Enter CPcsPluginInterface::SearchMatchStringL") );
   225 
   225 
   226     for ( TInt idx = 0; idx < iPcsPluginInstances.Count(); idx++ )
   226     for ( TInt idx = 0; idx < iPcsPluginInstances.Count(); idx++ )
   227     {
   227     {
   266 // ----------------------------------------------------------------------------      
   266 // ----------------------------------------------------------------------------      
   267 void CPcsPluginInterface::ChangeSortOrderL(TDesC& aURI, RArray<TInt>& aSortOrder)
   267 void CPcsPluginInterface::ChangeSortOrderL(TDesC& aURI, RArray<TInt>& aSortOrder)
   268 {
   268 {
   269 	return(iPcsPluginInstances[0]->ChangeSortOrderL(aURI, aSortOrder));
   269 	return(iPcsPluginInstances[0]->ChangeSortOrderL(aURI, aSortOrder));
   270 }
   270 }
       
   271 
       
   272 // ----------------------------------------------------------------------------
       
   273 // CPcsPluginInterface::GetAdaptiveGridL
       
   274 // Adaptive Grid
       
   275 // ----------------------------------------------------------------------------
       
   276 void CPcsPluginInterface::GetAdaptiveGridL( const MDesCArray& aURIs,
       
   277                                             const TBool aCompanyName,
       
   278                                             TDes& aAdaptiveGrid )
       
   279 {
       
   280     PRINT ( _L("Enter CPcsPluginInterface::GetAdaptiveGridL ") );
       
   281 
       
   282     for ( TInt idx = 0; idx < iPcsPluginInstances.Count(); idx++ )
       
   283     {
       
   284        iPcsPluginInstances[idx]->GetAdaptiveGridL( aURIs,
       
   285                                                    aCompanyName,
       
   286                                                    aAdaptiveGrid );
       
   287     }
       
   288 
       
   289     PRINT ( _L("End CPcsPluginInterface::GetAdaptiveGridL") );
       
   290 }
       
   291 
   271 // End of file
   292 // End of file