equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 */ |
|
23 |
|
24 |
|
25 #ifndef __CMTF_TEST_ACTION_RECEIVE_SMS_MESSAGES_H__ |
|
26 #define __CMTF_TEST_ACTION_RECEIVE_SMS_MESSAGES_H__ |
|
27 |
|
28 #include "CMtfTestAction.h" |
|
29 |
|
30 class CMsvEntry; |
|
31 class MMsvEntryObserver; |
|
32 |
|
33 _LIT(KTestActionReceiveSmsMessages,"ReceiveSmsMessages"); |
|
34 |
|
35 class CMtfTestActionReceiveSmsMessages : public CMtfTestAction,public MMsvEntryObserver |
|
36 { |
|
37 public: |
|
38 static CMtfTestAction* NewL(CMtfTestCase& aTestCase, CMtfTestActionParameters* ActionParameters); |
|
39 virtual ~CMtfTestActionReceiveSmsMessages(); |
|
40 |
|
41 public: |
|
42 virtual void ExecuteActionL(); |
|
43 |
|
44 protected: |
|
45 void DoCancel(); |
|
46 void RunL(); |
|
47 |
|
48 private: |
|
49 void HandleEntryEventL(TMsvEntryEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3); |
|
50 CMtfTestActionReceiveSmsMessages(CMtfTestCase& aTestCase); |
|
51 |
|
52 private: |
|
53 TInt iNumberOfMessages; |
|
54 CMsvEntry* iMsventry; |
|
55 }; |
|
56 |
|
57 #endif |