phonebookui/Phonebook2/NamesListExtension/src/cpbk2mycard.cpp
branchRCL_3
changeset 6 e8e3147d53eb
parent 3 04ab22b956c2
child 12 4ae315f230bc
equal deleted inserted replaced
5:81f8547efd4f 6:e8e3147d53eb
   108 // CPbk2MyCard::~CPbk2MyCard
   108 // CPbk2MyCard::~CPbk2MyCard
   109 // --------------------------------------------------------------------------
   109 // --------------------------------------------------------------------------
   110 //
   110 //
   111 CPbk2MyCard::~CPbk2MyCard()
   111 CPbk2MyCard::~CPbk2MyCard()
   112     {
   112     {
   113 	
       
   114 	
       
   115 	delete iThumbBitmap;
   113 	delete iThumbBitmap;
   116 	delete iMyCardStoreContact;
   114 	delete iMyCardStoreContact;
   117 	delete iImageManager;
   115 	delete iImageManager;
   118     delete iMyCardLink;
   116     delete iMyCardLink;
   119     delete iOperation;
   117     delete iOperation;
   121     iObserverArray.Reset();
   119     iObserverArray.Reset();
   122     if(iPhoneStore)
   120     if(iPhoneStore)
   123         {
   121         {
   124         iPhoneStore->Close(*this);
   122         iPhoneStore->Close(*this);
   125         }
   123         }
   126     
       
   127     }
   124     }
   128 
   125 
   129 // --------------------------------------------------------------------------
   126 // --------------------------------------------------------------------------
   130 // CPbk2MyCard::SetObserverL
   127 // CPbk2MyCard::SetObserverL
   131 // --------------------------------------------------------------------------
   128 // --------------------------------------------------------------------------
   216 MVPbkStoreContact* CPbk2MyCard::MyCardStoreContact() const
   213 MVPbkStoreContact* CPbk2MyCard::MyCardStoreContact() const
   217     {
   214     {
   218     return iMyCardStoreContact;
   215     return iMyCardStoreContact;
   219     }
   216     }
   220 
   217 
       
   218 // --------------------------------------------------------------------------
       
   219 // CPbk2MyCard::ContactManager
       
   220 // --------------------------------------------------------------------------
       
   221 //
       
   222 CVPbkContactManager& CPbk2MyCard::ContactManager()
       
   223     {
       
   224     return *iContactManager;
       
   225     }
       
   226 	
   221 // --------------------------------------------------------------------------
   227 // --------------------------------------------------------------------------
   222 // CPbk2MyCard::VPbkSingleContactLinkOperationComplete
   228 // CPbk2MyCard::VPbkSingleContactLinkOperationComplete
   223 // --------------------------------------------------------------------------
   229 // --------------------------------------------------------------------------
   224 //
   230 //
   225 void CPbk2MyCard::VPbkSingleContactLinkOperationComplete(
   231 void CPbk2MyCard::VPbkSingleContactLinkOperationComplete(