|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file |
|
25 */ |
|
26 |
|
27 #ifndef __TCANCEL_H__ |
|
28 #define __TCANCEL_H__ |
|
29 |
|
30 #include "t_testaction.h" |
|
31 |
|
32 class CCancelStart : public CTestAction |
|
33 { |
|
34 public: |
|
35 static CCancelStart* NewL(CConsoleBase& aConsole, Output& aOut, |
|
36 const TTestActionSpec& aTestActionSpec); |
|
37 static CCancelStart* NewLC(CConsoleBase& aConsole, Output& aOut, |
|
38 const TTestActionSpec& aTestActionSpec); |
|
39 ~CCancelStart(); |
|
40 virtual void PerformAction(TRequestStatus& aStatus); |
|
41 |
|
42 private: |
|
43 CCancelStart(CConsoleBase& aConsole, Output& aOut); |
|
44 void ConstructL(const TTestActionSpec& aTestActionSpec); |
|
45 void DoReportAction(); |
|
46 void DoCheckResult(TInt aError); |
|
47 }; |
|
48 |
|
49 class CCancelStop : public CTestAction |
|
50 { |
|
51 public: |
|
52 static CCancelStop* NewL(CConsoleBase& aConsole, Output& aOut, |
|
53 const TTestActionSpec& aTestActionSpec); |
|
54 static CCancelStop* NewLC(CConsoleBase& aConsole, Output& aOut, |
|
55 const TTestActionSpec& aTestActionSpecl); |
|
56 ~CCancelStop(); |
|
57 virtual void PerformAction(TRequestStatus& aStatus); |
|
58 |
|
59 private: |
|
60 CCancelStop(CConsoleBase& aConsole, Output& aOut); |
|
61 void ConstructL(const TTestActionSpec& aTestActionSpec); |
|
62 void DoReportAction(); |
|
63 void DoCheckResult(TInt aError); |
|
64 }; |
|
65 |
|
66 #endif |