equal
deleted
inserted
replaced
20 |
20 |
21 // INCLUDE FILES |
21 // INCLUDE FILES |
22 #include <msvapi.h> |
22 #include <msvapi.h> |
23 #include <ccsdefs.h> |
23 #include <ccsdefs.h> |
24 #include <QString> |
24 #include <QString> |
|
25 #include <platform/ssm/ssmstateawaresession.h> |
25 |
26 |
26 //USER INCLUDES |
27 //USER INCLUDES |
27 #include "msginfodefs.h" |
28 #include "msginfodefs.h" |
28 |
29 |
29 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
38 |
39 |
39 /** |
40 /** |
40 * @class MsgStoreHandler |
41 * @class MsgStoreHandler |
41 * handles the Messaging store for outbox events. |
42 * handles the Messaging store for outbox events. |
42 */ |
43 */ |
43 class MsgStoreHandler: public CBase, public MMsvSessionObserver, public MMsvEntryObserver |
44 class MsgStoreHandler: public CActive, public MMsvSessionObserver, public MMsvEntryObserver |
44 { |
45 { |
45 public: |
46 public: |
46 |
47 |
47 /** |
48 /** |
48 * Default constructor. |
49 * Default constructor. |
114 * verifys the current operation status |
115 * verifys the current operation status |
115 * @param aEntry, TMsvEntry |
116 * @param aEntry, TMsvEntry |
116 */ |
117 */ |
117 TBool OperationOngoing(const TMsvEntry& aEntry) const; |
118 TBool OperationOngoing(const TMsvEntry& aEntry) const; |
118 |
119 |
|
120 /** |
|
121 * Process the class0 SMS and extract all the relevant information |
|
122 * @param aHeader, Class0 SMS header |
|
123 */ |
|
124 void HandleClass0SmsL(CMsvEntry* aMsgEntry, TMsvId aMsgId); |
|
125 |
|
126 /** |
|
127 * From CActive |
|
128 */ |
|
129 void DoCancel(); |
|
130 void RunL(); |
|
131 |
119 private: |
132 private: |
120 /** |
133 /** |
121 * Own. Msv Session |
134 * Own. Msv Session |
122 */ |
135 */ |
123 CMsvSession* iMsvSession; |
136 CMsvSession* iMsvSession; |
139 |
152 |
140 /** |
153 /** |
141 * List of messages in Fialed states |
154 * List of messages in Fialed states |
142 */ |
155 */ |
143 CMsvEntrySelection* iFailedMessages; |
156 CMsvEntrySelection* iFailedMessages; |
144 |
157 |
|
158 /** |
|
159 * Interface to receive notifications when the |
|
160 * System State changes. |
|
161 */ |
|
162 RSsmStateAwareSession iStateAwareSession; |
145 }; |
163 }; |
146 |
164 |
147 #endif // MSG_STORE_HANDLER_H |
165 #endif // MSG_STORE_HANDLER_H |
148 // EOF |
166 // EOF |