equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * Main plugin class |
15 * Main plugin class |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 #include "emailtrace.h" |
19 #include "ipssosaopluginheaders.h" |
20 #include <e32base.h> |
|
21 |
|
22 #include "IpsSosAOSmtpAgent.h" |
|
23 #include "ipsplgsmtpoperation.h" |
|
24 #include "ipssetdataapi.h" |
|
25 |
|
26 |
20 |
27 #ifdef _DEBUG |
21 #ifdef _DEBUG |
28 _LIT( KIpsSosAOSmtpLogicPanicLit, "AOsmtp"); |
22 _LIT( KIpsSosAOSmtpLogicPanicLit, "AOsmtp"); |
29 #endif |
23 #endif |
30 |
24 |
131 void CIpsSosAOSmtpAgent::CreateInternalDataL( ) |
125 void CIpsSosAOSmtpAgent::CreateInternalDataL( ) |
132 { |
126 { |
133 FUNC_LOG; |
127 FUNC_LOG; |
134 if ( !iOperation ) |
128 if ( !iOperation ) |
135 { |
129 { |
|
130 //<QMail> |
136 iOperation = CIpsPlgSmtpOperation::NewL( |
131 iOperation = CIpsPlgSmtpOperation::NewL( |
137 iSession, EPriorityStandard, iStatus , EFalse ); |
132 iSession, iStatus ); |
138 } |
133 } |
139 |
134 |
140 if ( !iSettingsApi ) |
135 //</QMail> |
141 { |
|
142 iSettingsApi = CIpsSetDataApi::NewL( iSession ); |
|
143 } |
|
144 } |
136 } |
145 |
137 |
146 // ---------------------------------------------------------------------------- |
138 // ---------------------------------------------------------------------------- |
147 // ---------------------------------------------------------------------------- |
139 // ---------------------------------------------------------------------------- |
148 void CIpsSosAOSmtpAgent::ReleaseInternalData( ) |
140 void CIpsSosAOSmtpAgent::ReleaseInternalData( ) |
156 else if ( iOperation && !iOperation->IsActive() ) |
148 else if ( iOperation && !iOperation->IsActive() ) |
157 { |
149 { |
158 delete iOperation; |
150 delete iOperation; |
159 iOperation = NULL; |
151 iOperation = NULL; |
160 } |
152 } |
161 |
153 //<QMail> |
162 delete iSettingsApi; |
154 |
163 iSettingsApi = NULL; |
155 //</QMail> |
164 } |
156 } |
165 |
157 |
166 |
158 |
167 //EOF |
159 //EOF |
168 |
160 |