creator/src/creator_calendar.cpp
changeset 11 4df3a095718c
parent 0 d6fe6244b863
equal deleted inserted replaced
10:e6e3e87d58b4 11:4df3a095718c
    17 
    17 
    18 
    18 
    19 #include "creator_calendar.h" 
    19 #include "creator_calendar.h" 
    20 #include "creator_traces.h"
    20 #include "creator_traces.h"
    21 #include "creator_scriptentry.h"
    21 #include "creator_scriptentry.h"
    22 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
    22 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && SYMBIAN_VERSION_SUPPORT < SYMBIAN_4)
    23 #include "creator_contactsetcache.h"
    23 #include "creator_contactsetcache.h"
    24 #include "creator_virtualphonebook.h"
    24 #include "creator_virtualphonebook.h"
    25 #endif
    25 #endif
    26 #include <e32base.h>
    26 #include <e32base.h>
    27 #include <e32math.h>
    27 #include <e32math.h>
    28 #include <calrrule.h> 
    28 #include <calrrule.h> 
    29 #include <calalarm.h>
    29 #include <calalarm.h>
    30 
    30 
    31 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
    31 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && SYMBIAN_VERSION_SUPPORT < SYMBIAN_4)
    32 #include <MVPbkFieldType.h>
    32 #include <MVPbkFieldType.h>
    33 #include <MVPbkContactOperationBase.h>
    33 #include <MVPbkContactOperationBase.h>
    34 #include <MVPbkStoreContactFieldCollection.h>
    34 #include <MVPbkStoreContactFieldCollection.h>
    35 #include <MVPbkContactFieldTextData.h>
    35 #include <MVPbkContactFieldTextData.h>
    36 #include <CVPbkContactManager.h>
    36 #include <CVPbkContactManager.h>
   341         }
   341         }
   342     delete iSoundFileArray;
   342     delete iSoundFileArray;
   343     delete iWaiter;
   343     delete iWaiter;
   344     delete iTmpCN;
   344     delete iTmpCN;
   345     delete iTmpEmail;
   345     delete iTmpEmail;
   346 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
   346 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && SYMBIAN_VERSION_SUPPORT < SYMBIAN_4)
   347     delete iExistingContacts;
   347     delete iExistingContacts;
   348     delete iTempContact;
   348     delete iTempContact;
   349     delete iContactManager;
   349     delete iContactManager;
   350 #endif
   350 #endif
   351     }
   351     }
   795         	CleanupStack::Pop(); // attendee
   795         	CleanupStack::Pop(); // attendee
   796         	}
   796         	}
   797         }
   797         }
   798     
   798     
   799     // Linked attendees:
   799     // Linked attendees:
   800 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
   800 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && SYMBIAN_VERSION_SUPPORT < SYMBIAN_4)
   801     
   801     
   802     CVPbkContactStoreUriArray* uriArray = CVPbkContactStoreUriArray::NewLC();
   802     CVPbkContactStoreUriArray* uriArray = CVPbkContactStoreUriArray::NewLC();
   803     uriArray->AppendL( TVPbkContactStoreUriPtr(VPbkContactStoreUris::DefaultCntDbUri()));
   803     uriArray->AppendL( TVPbkContactStoreUriPtr(VPbkContactStoreUris::DefaultCntDbUri()));
   804     
   804     
   805     if( iContactManager == 0 )
   805     if( iContactManager == 0 )
  1442     // all entries deleted, remove the Calendar related registry
  1442     // all entries deleted, remove the Calendar related registry
  1443     iEngine->RemoveStoreL( KUidDictionaryUidCalendar );
  1443     iEngine->RemoveStoreL( KUidDictionaryUidCalendar );
  1444     }
  1444     }
  1445 
  1445 
  1446 
  1446 
  1447 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
  1447 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && SYMBIAN_VERSION_SUPPORT < SYMBIAN_4)
  1448 void CCreatorInterimCalendar::VPbkSingleContactOperationComplete(
  1448 void CCreatorInterimCalendar::VPbkSingleContactOperationComplete(
  1449             MVPbkContactOperationBase& /*aOperation*/,
  1449             MVPbkContactOperationBase& /*aOperation*/,
  1450             MVPbkStoreContact* aContact )
  1450             MVPbkStoreContact* aContact )
  1451     {
  1451     {
  1452     LOGSTRING("Creator: CCreatorInterimCalendar::VPbkSingleContactOperationComplete" );
  1452     LOGSTRING("Creator: CCreatorInterimCalendar::VPbkSingleContactOperationComplete" );