contacts_plat/virtual_phonebook_engine_api/inc/CVPbkTopContactManager.h
branchRCL_3
changeset 39 a6539d1e8e43
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
35:4ae315f230bc 39:a6539d1e8e43
   132     	 * @param aContactManager Contact manager which already has its stores opened.
   132     	 * @param aContactManager Contact manager which already has its stores opened.
   133     	 */
   133     	 */
   134         IMPORT_C static CVPbkTopContactManager* NewL( CVPbkContactManager& aContactManager );
   134         IMPORT_C static CVPbkTopContactManager* NewL( CVPbkContactManager& aContactManager );
   135 
   135 
   136         /**
   136         /**
       
   137          * Creates the top contact manager passing an already constructed top
       
   138          * contacts view as a parameter. This greatly improves performance of adding 
       
   139          * new favorites as the top contact view contsrution can be a heavy operation.
       
   140          * 
       
   141          * Note, passing the view doesn't affect the view and links fetching 
       
   142          * (e.g. GetTopContactsViewL, GetTopContactLinksL, etc.)
       
   143          * 
       
   144          * @param aContactManager Contact manager which already has its stores opened.
       
   145          * @param aTopView top contact view which already has been constructed.
       
   146          */
       
   147         IMPORT_C static CVPbkTopContactManager* NewL(
       
   148                 CVPbkContactManager& aContactManager,
       
   149                 MVPbkContactViewBase& aTopView);
       
   150         
       
   151         /**
   137          * Creates the top contact manager.
   152          * Creates the top contact manager.
   138          * Holds its own CVPbkContactManager instance.
   153          * Holds its own CVPbkContactManager instance.
   139          * 
   154          * 
   140          */
   155          */
   141         IMPORT_C static CVPbkTopContactManager* NewL();
   156         IMPORT_C static CVPbkTopContactManager* NewL();