44
|
1 |
//
|
|
2 |
// testltsysmssend.h
|
|
3 |
//
|
|
4 |
// Copyright (c) Symbian Software Ltd. Your copyright notice. All rights reserved.
|
|
5 |
//
|
|
6 |
|
|
7 |
#ifndef TESTLTSYSMSSEND_H
|
|
8 |
#define TESTLTSYSMSSEND_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 |
* CTestLtsySmsSend
|
|
21 |
*
|
|
22 |
*/
|
|
23 |
class CTestLtsySmsSend : public CTestLtsySmsBase
|
|
24 |
{
|
|
25 |
public:
|
|
26 |
|
|
27 |
~CTestLtsySmsSend();
|
|
28 |
static CTestLtsySmsSend* NewL(CTestLtsyModel& aTestModel);
|
|
29 |
static CTestLtsySmsSend* NewLC(CTestLtsyModel& aTestModel);
|
|
30 |
CTestLtsySmsSend(CTestLtsyModel& aTestModel);
|
|
31 |
void ConstructL();
|
|
32 |
protected:
|
|
33 |
virtual TVerdict doTestStepPreambleL();
|
|
34 |
virtual TVerdict doTestStepL();
|
|
35 |
virtual TVerdict doTestStepPostambleL();
|
|
36 |
void SendSmsL();
|
|
37 |
void FillSmsAttibutes(const TDesC& aTelNumber);
|
|
38 |
private:
|
|
39 |
RMobileSmsMessaging::TMobileSmsSendAttributesV1 iSmsAttr;
|
|
40 |
|
|
41 |
}; // class CTestLtsySmsSend
|
|
42 |
_LIT(KCTestLtsySmsSend,"CTestLtsySmsSend");
|
|
43 |
|
|
44 |
#endif // TESTLTSYSMSSEND_H
|