1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file testltsysmsstore.h |
|
15 // |
|
16 |
|
17 #ifndef TESTLTSYSMSSTORE_H |
|
18 #define TESTLTSYSMSSTORE_H |
|
19 |
|
20 //system include |
|
21 #include <e32std.h> |
|
22 #include <e32base.h> |
|
23 |
|
24 //user include |
|
25 #include "testltsysmsbase.h" |
|
26 #include "testltsymodel.h" |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * CTestLtsySmsStore |
|
31 * |
|
32 */ |
|
33 class CTestLtsySmsStore : public CTestLtsySmsBase |
|
34 { |
|
35 public: |
|
36 |
|
37 ~CTestLtsySmsStore(); |
|
38 static CTestLtsySmsStore* NewL(CTestLtsyModel& aTestModel); |
|
39 static CTestLtsySmsStore* NewLC(CTestLtsyModel& aTestModel); |
|
40 CTestLtsySmsStore(CTestLtsyModel& aTestModel); |
|
41 void ConstructL(); |
|
42 protected: |
|
43 virtual TVerdict doTestStepPreambleL(); |
|
44 virtual TVerdict doTestStepL(); |
|
45 virtual TVerdict doTestStepPostambleL(); |
|
46 void StoreSmsL(); |
|
47 void ReceiveSmsL(); |
|
48 void WriteSmsL(); |
|
49 void AckSmsStoredL(); |
|
50 void NackSmsStoredL(); |
|
51 private: |
|
52 void FillWriteSmsAttibutesL(TBuf8<400> aTpdu,RMobilePhone::TMobileAddress aMsgSca); |
|
53 /** |
|
54 * Receiving message's attributs |
|
55 */ |
|
56 RMobileSmsMessaging::TMobileSmsReceiveAttributesV1 iReceiveAttr; |
|
57 /** |
|
58 * Receiving message's TPDU |
|
59 */ |
|
60 TBuf8<KMessageLen> iRecvMsg; |
|
61 |
|
62 }; // class CTestLtsySmsStore |
|
63 _LIT(KCTestLtsySmsStore,"CTestLtsySmsStore"); |
|
64 |
|
65 #endif // TESTLTSYSMSSTORE_H |
|