equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * Always online plugin for freestyle smtp handling |
15 * Always online plugin for freestyle smtp handling |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 #ifndef __IPSSOSAOSMTPAGENT_H__ |
19 #ifndef __IPSSOSAOSMTPAGENT_H |
20 #define __IPSSOSAOSMTPAGENT_H__ |
20 #define __IPSSOSAOSMTPAGENT_H |
21 |
21 |
22 |
22 |
23 #include <e32base.h> // CBase |
23 #include <e32base.h> // CBase |
24 #include <msvapi.h> |
24 #include <msvapi.h> |
25 |
25 |
30 |
30 |
31 /** |
31 /** |
32 * class CIpsSosAOSmtpAgent; |
32 * class CIpsSosAOSmtpAgent; |
33 * |
33 * |
34 */ |
34 */ |
|
35 //<Qmail> |
35 NONSHARABLE_CLASS (CIpsSosAOSmtpAgent) : |
36 NONSHARABLE_CLASS (CIpsSosAOSmtpAgent) : |
|
37 //</Qmail> |
36 public CActive |
38 public CActive |
37 { |
39 { |
38 public: |
40 public: |
39 /** |
41 /** |
40 * Two phased constructor |
42 * Two phased constructor |
53 /** |
55 /** |
54 * Destructor |
56 * Destructor |
55 */ |
57 */ |
56 virtual ~CIpsSosAOSmtpAgent(); |
58 virtual ~CIpsSosAOSmtpAgent(); |
57 |
59 |
|
60 |
58 virtual void DoCancel(); |
61 virtual void DoCancel(); |
|
62 |
59 virtual void RunL(); |
63 virtual void RunL(); |
60 |
64 //<Qmail> |
|
65 /** |
|
66 * CMsvSession event callback |
|
67 */ |
61 void HandleSessionEventL( |
68 void HandleSessionEventL( |
62 MMsvSessionObserver::TMsvSessionEvent aEvent, |
69 MMsvSessionObserver::TMsvSessionEvent aEvent, |
63 TAny* aArg1, |
70 TAny* aArg1, |
64 TAny* aArg2, |
71 TAny* aArg2, |
65 TAny* aArg3 ); |
72 TAny* aArg3 ); |
66 |
73 |
|
74 /** |
|
75 * Tries to send messages from outbox |
|
76 */ |
67 void EmptyOutboxNowL( TMsvId aMessage ); |
77 void EmptyOutboxNowL( TMsvId aMessage ); |
|
78 //</Qmail> |
68 |
79 |
69 private: |
80 private: |
70 /** |
81 /** |
71 * Constructor |
82 * Constructor |
72 */ |
83 */ |
76 /** |
87 /** |
77 * ConstructL |
88 * ConstructL |
78 * Second phase constructor |
89 * Second phase constructor |
79 */ |
90 */ |
80 void ConstructL(); |
91 void ConstructL(); |
81 |
92 //<Qmail> |
|
93 /** |
|
94 * Creates needed internal data |
|
95 */ |
82 void CreateInternalDataL( ); |
96 void CreateInternalDataL( ); |
83 |
97 |
|
98 /** |
|
99 * Releases internal resources |
|
100 */ |
84 void ReleaseInternalData( ); |
101 void ReleaseInternalData( ); |
|
102 //</Qmail> |
85 |
103 |
86 |
104 |
87 private: |
105 private: |
88 |
106 |
89 |
107 |
90 //data |
108 //data |
91 private: |
109 private: |
92 |
110 |
93 CMsvSession& iSession; |
111 CMsvSession& iSession; |
94 |
112 //<Qmail> |
95 CIpsPlgSmtpOperation* iOperation; |
113 CIpsPlgSmtpOperation* iOperation;//owned |
96 //<QMail> |
114 |
97 |
115 |
98 //</QMail> |
116 //</QMail> |
99 TInt iError; |
117 TInt iError; |
100 |
118 |
101 }; |
119 }; |
102 |
120 |
103 #endif /* __IPSSOSAOSMTPAGENT_H__ */ |
121 #endif /* __IPSSOSAOSMTPAGENT_H*/ |
104 //EOF |
122 //EOF |