phonebookui/Phonebook2/GroupExtension/src/CPguAddMembersCmd.cpp
branchRCL_3
changeset 85 38bb213f60ba
parent 74 6b5524b4f673
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
    17 
    17 
    18 // INCLUDE FILES
    18 // INCLUDE FILES
    19 #include "CPguAddMembersCmd.h"
    19 #include "CPguAddMembersCmd.h"
    20 
    20 
    21 // Phonebook 2
    21 // Phonebook 2
    22 #include <pbk2groupuires.rsg>
    22 #include <Pbk2GroupUIRes.rsg>
    23 #include <pbk2commands.rsg>
    23 #include <Pbk2Commands.rsg>
    24 #include <pbk2uicontrols.rsg>
    24 #include <Pbk2UIControls.rsg>
    25 #include <CPbk2FetchDlg.h>
    25 #include <CPbk2FetchDlg.h>
    26 #include <MPbk2CommandObserver.h>
    26 #include <MPbk2CommandObserver.h>
    27 #include <MPbk2ContactUiControl.h>
    27 #include <MPbk2ContactUiControl.h>
    28 #include <CPbk2ContactRelocator.h>
    28 #include <CPbk2ContactRelocator.h>
    29 #include <Pbk2ProcessDecoratorFactory.h>
    29 #include <Pbk2ProcessDecoratorFactory.h>
   802     else
   802     else
   803         {
   803         {
   804         iState = ECommitingTransaction;
   804         iState = ECommitingTransaction;
   805         }
   805         }
   806     
   806     
   807     if ( iAbort )
       
   808         {
       
   809         iState = ECommitingTransaction;
       
   810         }
       
   811     
       
   812     IssueRequest();
   807     IssueRequest();
   813     }
   808     }
   814 
   809 
   815 // --------------------------------------------------------------------------
   810 // --------------------------------------------------------------------------
   816 // CPguAddMembersCmd::CommitTransactionL
   811 // CPguAddMembersCmd::CommitTransactionL
  1020         {
  1015         {
  1021         iState = ERelocateContacts;
  1016         iState = ERelocateContacts;
  1022         IssueRequest();
  1017         IssueRequest();
  1023         }
  1018         }
  1024     }
  1019     }
  1025 
       
  1026 void CPguAddMembersCmd::Abort()
       
  1027     {
       
  1028     if ( iDecorator )
       
  1029         {
       
  1030         // iDecorator calls ProcessStopped to end this cmd
       
  1031         iDecorator->ProcessStopped();
       
  1032         iAbort = ETrue;
       
  1033         }
       
  1034     }
       
  1035 
       
  1036 // End of File
  1020 // End of File