44
|
1 |
//
|
|
2 |
// testltsysmsreceive.h
|
|
3 |
//
|
|
4 |
// Copyright (c) Symbian Software Ltd. Your copyright notice. All rights reserved.
|
|
5 |
//
|
|
6 |
|
|
7 |
#ifndef TESTLTSYSMSRECEIVE_H
|
|
8 |
#define TESTLTSYSMSRECEIVE_H
|
|
9 |
|
|
10 |
//system include
|
|
11 |
#include <e32std.h>
|
|
12 |
#include <e32base.h>
|
|
13 |
|
|
14 |
//user include
|
|
15 |
#include "testltsysmsbase.h"
|
|
16 |
#include "testltsymodel.h"
|
|
17 |
// CLASS DECLARATION
|
|
18 |
|
|
19 |
|
|
20 |
/**
|
|
21 |
* CTestLtsySmsReceive
|
|
22 |
*
|
|
23 |
*/
|
|
24 |
class CTestLtsySmsReceive : public CTestLtsySmsBase
|
|
25 |
{
|
|
26 |
public:
|
|
27 |
|
|
28 |
~CTestLtsySmsReceive();
|
|
29 |
static CTestLtsySmsReceive* NewL(CTestLtsyModel& aTestModel);
|
|
30 |
static CTestLtsySmsReceive* NewLC(CTestLtsyModel& aTestModel);
|
|
31 |
CTestLtsySmsReceive(CTestLtsyModel& aTestModel);
|
|
32 |
void ConstructL();
|
|
33 |
protected:
|
|
34 |
virtual TVerdict doTestStepPreambleL();
|
|
35 |
virtual TVerdict doTestStepL();
|
|
36 |
virtual TVerdict doTestStepPostambleL();
|
|
37 |
void ReceiveSmsL();
|
|
38 |
private:
|
|
39 |
|
|
40 |
/**
|
|
41 |
* Receiving message's TPDU
|
|
42 |
*/
|
|
43 |
TBuf8<KMessageLen> iRecvMsg;
|
|
44 |
}; // class CTestLtsySmsReceive
|
|
45 |
_LIT(KCTestLtsySmsReceive,"CTestLtsySmsReceive");
|
|
46 |
|
|
47 |
#endif // TESTLTSYSMSRECEIVE_H
|