equal
deleted
inserted
replaced
|
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 "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 * @file |
|
16 * This contains TEFResult.h |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef __TEF_RESULT_H__ |
|
23 #define __TEF_RESULT_H__ |
|
24 |
|
25 class MTEFResult |
|
26 /** |
|
27 * @internalComponent |
|
28 * @test |
|
29 * |
|
30 * Test error handling |
|
31 */ |
|
32 { |
|
33 public: |
|
34 /* |
|
35 * Set the error |
|
36 * |
|
37 * @param - aError the error to set |
|
38 */ |
|
39 virtual void SetError(const TInt aError) =0; |
|
40 |
|
41 /* |
|
42 * Set the asynchronus error |
|
43 * |
|
44 * @param aIndex - block index that the error belongs to |
|
45 * @param aError - the error to set |
|
46 */ |
|
47 virtual void SetAsyncError(const TInt aIndex, const TInt aError) =0; |
|
48 |
|
49 /* |
|
50 * Set the block result |
|
51 * |
|
52 * @param aResult - the result to set |
|
53 * |
|
54 * @see TVerdict |
|
55 */ |
|
56 virtual void SetBlockResult(const TVerdict aResult) =0; |
|
57 |
|
58 /* |
|
59 * Get the block result |
|
60 * |
|
61 * @return the result |
|
62 * |
|
63 * @see TVerdict |
|
64 */ |
|
65 virtual TVerdict BlockResult() =0; |
|
66 }; |
|
67 |
|
68 #endif // __TEF_RESULT_H__ |