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