equal
deleted
inserted
replaced
87 // default destuctor. |
87 // default destuctor. |
88 // ----------------------------------------------------------------------------- |
88 // ----------------------------------------------------------------------------- |
89 // |
89 // |
90 CCalenderNotification::~CCalenderNotification() |
90 CCalenderNotification::~CCalenderNotification() |
91 { |
91 { |
92 if (IsActive()) |
92 Cancel(); |
93 { |
|
94 Cancel(); |
|
95 } |
|
96 iFsession.Close(); |
93 iFsession.Close(); |
97 } |
94 } |
98 // ----------------------------------------------------------------------------- |
95 // ----------------------------------------------------------------------------- |
99 // CMyLocationsEngine::RunL() |
96 // CMyLocationsEngine::RunL() |
100 // Assyncronous request handler , on completion of notification |
97 // Assyncronous request handler , on completion of notification |
102 // |
99 // |
103 void CCalenderNotification::RunL() |
100 void CCalenderNotification::RunL() |
104 { |
101 { |
105 TInt status; |
102 TInt status; |
106 iNotifyChange.NotifyChangeL( status ); |
103 iNotifyChange.NotifyChangeL( status ); |
107 if ( KErrNone == status ) |
|
108 { |
|
109 iFsession.NotifyChangeCancel(); |
|
110 } |
|
111 } |
104 } |
112 // ----------------------------------------------------------------------------- |
105 // ----------------------------------------------------------------------------- |
113 // CMyLocationsEngine::DoCancel() |
106 // CMyLocationsEngine::DoCancel() |
114 // Handels the error condition on assynchronous request |
107 // Handels the error condition on assynchronous request |
115 // ----------------------------------------------------------------------------- |
108 // ----------------------------------------------------------------------------- |
116 // |
109 // |
117 void CCalenderNotification::DoCancel() |
110 void CCalenderNotification::DoCancel() |
118 { |
111 { |
|
112 iFsession.NotifyChangeCancel(); |
119 } |
113 } |
120 |
114 |
121 //End of file |
115 //End of file |
122 |
116 |