phonebookui/Phonebook2/NamesListExtension/inc/CPbk2NlxAddToTopContactsCmd.h
branchRCL_3
changeset 13 a6539d1e8e43
parent 0 e686773b3f54
equal deleted inserted replaced
12:4ae315f230bc 13:a6539d1e8e43
    14 * Description:  Phonebook 2 CCA launcher command
    14 * Description:  Phonebook 2 CCA launcher command
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #ifndef CPbk2NlxAddToTopContactsCmd_H
    19 #ifndef CPBK2NLXADDTOTOPCONTACTSCMD_H
    20 #define CPbk2NlxAddToTopContactsCmd_H
    20 #define CPBK2NLXADDTOTOPCONTACTSCMD_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <MPbk2Command.h>
    24 #include <MPbk2Command.h>
    25 #include <MVPbkOperationObserver.h>
    25 #include <MVPbkOperationObserver.h>
    27 #include <MPbk2FetchDlgObserver.h>
    27 #include <MPbk2FetchDlgObserver.h>
    28 #include <MVPbkContactViewObserver.h>
    28 #include <MVPbkContactViewObserver.h>
    29 #include <MVPbkContactSelector.h>
    29 #include <MVPbkContactSelector.h>
    30 #include <MPbk2ProcessDecorator.h>
    30 #include <MPbk2ProcessDecorator.h>
    31 
    31 
       
    32 #include "CPbk2DelayedWaitNote.h"
       
    33 
    32 // FORWARD DECLARATIONS
    34 // FORWARD DECLARATIONS
    33 class MPbk2ContactUiControl;
    35 class MPbk2ContactUiControl;
    34 class MVPbkContactOperationBase;
    36 class MVPbkContactOperationBase;
    35 class CVPbkTopContactManager;
    37 class CVPbkTopContactManager;
    36 class CPbk2ContactRelocator;
    38 class CPbk2ContactRelocator;
    37 class MVPbkContactOperationBase;
       
    38 class MPbk2ContactLinkIterator;
    39 class MPbk2ContactLinkIterator;
    39 class CVPbkContactLinkArray;
    40 class CVPbkContactLinkArray;
    40 class CVPbkContactManager;
    41 class CVPbkContactManager;
    41 class MPbk2DialogEliminator;
    42 class MPbk2DialogEliminator;
    42 class CVPbkContactStoreUriArray;
    43 class CVPbkContactStoreUriArray;
       
    44 
       
    45 
       
    46 
    43 
    47 
    44 // CLASS DECLARATION
    48 // CLASS DECLARATION
    45 /**
    49 /**
    46  * Phonebook 2 add to top contacts command object.
    50  * Phonebook 2 add to top contacts command object.
    47  */
    51  */
   163         void StartNext();
   167         void StartNext();
   164         void CleanAfterFetching();
   168         void CleanAfterFetching();
   165         TInt CountSimContacts() const;
   169         TInt CountSimContacts() const;
   166         CVPbkContactLinkArray* CreateSimContactsArrayLC() const;
   170         CVPbkContactLinkArray* CreateSimContactsArrayLC() const;
   167         void ReplaceSimContactsL();
   171         void ReplaceSimContactsL();
   168         void ShowWaitNoteL();
   172         void ShowDelayedWaitNoteL();
   169 
   173 
   170     private: // Data
   174     private: // Data
   171         
   175         
   172     	TPhase iNextPhase;
   176     	TPhase iNextPhase;
   173         /// Ref
   177         /// Ref
   198         MVPbkContactViewBase* iAllContactsView;
   202         MVPbkContactViewBase* iAllContactsView;
   199         /// Own: reference to the fetch dlg, to insure is deleted
   203         /// Own: reference to the fetch dlg, to insure is deleted
   200         MPbk2DialogEliminator* iFetchDlgEliminator;
   204         MPbk2DialogEliminator* iFetchDlgEliminator;
   201         /// Own: Store uris used for the fetch dlg
   205         /// Own: Store uris used for the fetch dlg
   202         CVPbkContactStoreUriArray* iStoreUris;
   206         CVPbkContactStoreUriArray* iStoreUris;
   203         /// Own: Decorator for the wait note process
   207         /// Own: Decorator for the delayed wait note process
   204         MPbk2ProcessDecorator* iDecorator;
   208         CPbk2DelayedWaitNote* iDelayedWaitNote;
   205     };
   209     };
   206 
   210 
   207 #endif // CPbk2NlxAddToTopContactsCmd_H
   211 #endif // CPBK2NLXADDTOTOPCONTACTSCMD_H
   208 
   212 
   209 // End of File
   213 // End of File