phonebookui/Phonebook2/NamesListExtension/inc/CPbk2NlxRemoveFromTopContactsCmd.h
branchRCL_3
changeset 39 a6539d1e8e43
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
35:4ae315f230bc 39:a6539d1e8e43
    14 * Description:  Phonebook 2 remove from top contacts command
    14 * Description:  Phonebook 2 remove from top contacts command
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #ifndef CPbk2NlxRemoveFromTopContactsCmd_H
    19 #ifndef CPBK2NLXREMOVEFROMTOPCONTACTSCMD_H
    20 #define CPbk2NlxRemoveFromTopContactsCmd_H
    20 #define CPBK2NLXREMOVEFROMTOPCONTACTSCMD_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>
       
    26 
       
    27 #include "CPbk2DelayedWaitNote.h"
    26 
    28 
    27 // FORWARD DECLARATIONS
    29 // FORWARD DECLARATIONS
    28 class MPbk2ContactUiControl;
    30 class MPbk2ContactUiControl;
    29 class CVPbkTopContactManager;
    31 class CVPbkTopContactManager;
    30 class MVPbkContactOperationBase;
    32 class MVPbkContactOperationBase;
    36  */
    38  */
    37 class CPbk2NlxRemoveFromTopContactsCmd : 
    39 class CPbk2NlxRemoveFromTopContactsCmd : 
    38     public CActive,
    40     public CActive,
    39     public MPbk2Command,
    41     public MPbk2Command,
    40     public MVPbkOperationObserver,
    42     public MVPbkOperationObserver,
    41     public MVPbkOperationErrorObserver
    43     public MVPbkOperationErrorObserver,
       
    44     public MPbk2ProcessDecoratorObserver
    42     {
    45     {
    43     public: // Construction and destruction
    46     public: // Construction and destruction
    44 
    47 
    45         /**
    48         /**
    46          * Creates a new instance of this class.
    49          * Creates a new instance of this class.
    75     private://From CActive
    78     private://From CActive
    76         void DoCancel();
    79         void DoCancel();
    77         void RunL();
    80         void RunL();
    78         TInt RunError(TInt aError);
    81         TInt RunError(TInt aError);
    79         
    82         
       
    83     private: // From MPbk2ProcessDecoratorObserver
       
    84         void ProcessDismissed( TInt aCancelCode );    
       
    85         
    80     private: // Implementation        
    86     private: // Implementation        
    81         void RemoveTopContactL();
    87         void RemoveTopContactL();
       
    88         void ShowDelayedWaitNoteL();
    82 
    89 
    83     private: // Data
    90     private: // Data
    84         //Ref
    91         //Ref
    85         MPbk2CommandObserver* iCommandObserver;
    92         MPbk2CommandObserver* iCommandObserver;
    86         //Ref
    93         //Ref
    87         MPbk2ContactUiControl *iUiControl;   
    94         MPbk2ContactUiControl *iUiControl;   
    88         //Own:
    95         //Own:
    89         MVPbkContactOperationBase* iVPbkContactOperationBase;
    96         MVPbkContactOperationBase* iVPbkContactOperationBase;
    90         //Own:        
    97         //Own:        
    91         CVPbkTopContactManager* iVPbkTopContactManager;
    98         CVPbkTopContactManager* iVPbkTopContactManager;
       
    99         
       
   100         CPbk2DelayedWaitNote* iDelayedWaitNote;
    92     };
   101     };
    93 
   102 
    94 #endif // CPbk2NlxRemoveFromTopContactsCmd_H
   103 #endif // CPBK2NLXREMOVEFROMTOPCONTACTSCMD_H
    95 
   104 
    96 // End of File
   105 // End of File