1 /* |
|
2 * Copyright (c) 2002-2006 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 the License "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: MO SMS Control specific test class. Inherits CSatBase. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef SATMOSMSCONTROL_H |
|
21 #define SATMOSMSCONTROL_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "satbase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Class provides functionality to verify the functionality |
|
30 * Call Control. |
|
31 * @lib SimAtk.dll |
|
32 */ |
|
33 NONSHARABLE_CLASS( CSatMoSmsControl ) : public CSatBase |
|
34 { |
|
35 |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Constructor. |
|
40 */ |
|
41 CSatMoSmsControl( const TSatIpc aIpc, const RSat& aSat, |
|
42 CStifItemParser& aParser, CStifLogger& aLog ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CSatMoSmsControl(); |
|
48 |
|
49 |
|
50 public: // Implemented pure virtual methods from CSatBase |
|
51 |
|
52 /** |
|
53 * Method requests call control notifications from Etel and |
|
54 * and resets the internal data structure. |
|
55 * @param aSimAtkStatus Reference to active object's request status |
|
56 * @return KErrNone |
|
57 */ |
|
58 TInt NotifySat( TRequestStatus& aSimAtkStatus ); |
|
59 |
|
60 /** |
|
61 * Method verifies the validity of received data by compaing |
|
62 * them against scripted parameters. |
|
63 * @return KErrNone if date was valid or KErrCorrupt if received data |
|
64 * and script did not match. |
|
65 */ |
|
66 TInt CheckData(); |
|
67 |
|
68 |
|
69 private: // Data |
|
70 |
|
71 // MO SMS control data and package |
|
72 RSat::TMoSmControlV1 iData; |
|
73 RSat::TMoSmControlV1Pckg iDataPckg; |
|
74 }; |
|
75 |
|
76 #endif // SATMOSMSCONTROL_H |
|
77 |
|
78 // End of File |
|