equal
deleted
inserted
replaced
137 |
137 |
138 CleanupStack::Pop( message ); // <-1 |
138 CleanupStack::Pop( message ); // <-1 |
139 |
139 |
140 iMessageCount++; |
140 iMessageCount++; |
141 iMessageList->SetTObjectValueL<TInt>( KMPXMessageArrayCount, iMessageCount ); |
141 iMessageList->SetTObjectValueL<TInt>( KMPXMessageArrayCount, iMessageCount ); |
|
142 |
|
143 if ( iMessageArray->Count() > 100 ) |
|
144 { |
|
145 SendL(); |
|
146 } |
142 } |
147 } |
143 |
148 |
144 // ---------------------------------------------------------------------------------------------------------- |
149 // ---------------------------------------------------------------------------------------------------------- |
145 // CVcxMyVideosMessageList::AddEventL |
150 // CVcxMyVideosMessageList::AddEventL |
146 // ---------------------------------------------------------------------------------------------------------- |
151 // ---------------------------------------------------------------------------------------------------------- |
275 } |
280 } |
276 } |
281 } |
277 #endif |
282 #endif |
278 |
283 |
279 CreateMessageListL(); //does nothing if already created |
284 CreateMessageListL(); //does nothing if already created |
280 iMessageArray->AppendL( aMessage ); // ownership moves |
|
281 iMessageCount++; |
285 iMessageCount++; |
282 iMessageList->SetTObjectValueL<TInt>( KMPXMessageArrayCount, iMessageCount ); |
286 iMessageList->SetTObjectValueL<TInt>( KMPXMessageArrayCount, iMessageCount ); |
283 |
287 iMessageArray->AppendL( aMessage ); // ownership moves |
284 } |
288 } |
285 |
289 |
286 // ---------------------------------------------------------------------------------------------------------- |
290 // ---------------------------------------------------------------------------------------------------------- |
287 // CVcxMyVideosMessageList::SendL |
291 // CVcxMyVideosMessageList::SendL |
288 // ---------------------------------------------------------------------------------------------------------- |
292 // ---------------------------------------------------------------------------------------------------------- |