|
1 /* |
|
2 * Copyright (c) 2005 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: See class definition below. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __TCmdSendRejectEvent_H__ |
|
21 #define __TCmdSendRejectEvent_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TTcMceCommandBase.h" |
|
25 |
|
26 // CLASS DEFINITION |
|
27 /** |
|
28 * Command class responsible for "SendAnswer" functionality. |
|
29 */ |
|
30 class TCmdSendRejectEvent |
|
31 : public TTcMceCommandBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Constructor. |
|
37 * |
|
38 * @param aContext MCE Test case context |
|
39 */ |
|
40 TCmdSendRejectEvent( MTcTestContext& aContext ) |
|
41 : TTcMceCommandBase( aContext ) {}; |
|
42 |
|
43 public: // From TTcMceCommandBase |
|
44 |
|
45 void ExecuteL(); |
|
46 |
|
47 public: // New methods |
|
48 |
|
49 /** |
|
50 * Static function for matching the name of this command to |
|
51 * a function identifier. |
|
52 * |
|
53 * @param aId An initialized identifier containing a function name. |
|
54 * @return ETrue if this command matches the specified name. |
|
55 */ |
|
56 static TBool Match( const TTcIdentifier& aId ); |
|
57 |
|
58 /** |
|
59 * Static fuction for creating an instance of this class |
|
60 * |
|
61 * @param aContext MCE Test case context |
|
62 * @return An initialized instance of this class. |
|
63 */ |
|
64 static TTcCommandBase* CreateL( MTcTestContext& aContext ); |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // __TCmdSendRejectEvent_H__ |