locationdataharvester/mylocationsengine/src/calendernotification.cpp
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 26 f3533f6eae3f
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    40         MNotifyChange* aNotifyChange)
    40         MNotifyChange* aNotifyChange)
    41 {
    41 {
    42     CCalenderNotification* self = new (ELeave) CCalenderNotification(
    42     CCalenderNotification* self = new (ELeave) CCalenderNotification(
    43             aNotifyChange);
    43             aNotifyChange);
    44     CleanupStack::PushL(self);
    44     CleanupStack::PushL(self);
    45     self->ConstructL(aNotifyChange);
    45     self->ConstructL();
    46     return self;
    46     return self;
    47 }
    47 }
    48 
    48 
    49 // -----------------------------------------------------------------------------
    49 // -----------------------------------------------------------------------------
    50 // CMyLocationsEngine::ConstructL()
    50 // CMyLocationsEngine::ConstructL()
    51 // Symbian 2nd phase constructor can leave.
    51 // Symbian 2nd phase constructor can leave.
    52 // -----------------------------------------------------------------------------
    52 // -----------------------------------------------------------------------------
    53 //
    53 //
    54 void CCalenderNotification::ConstructL(MNotifyChange* aNotifyChange)
    54 void CCalenderNotification::ConstructL()
    55 {
    55 {
    56     CActiveScheduler::Add(this);
    56     CActiveScheduler::Add(this);
    57     User::LeaveIfError(iFsession.Connect());
    57     User::LeaveIfError(iFsession.Connect());
    58 
    58 
    59 }
    59 }
   116 //
   116 //
   117 void CCalenderNotification::DoCancel()
   117 void CCalenderNotification::DoCancel()
   118 {
   118 {
   119 }
   119 }
   120 
   120 
       
   121 //End of file
       
   122