|
1 /* |
|
2 * Copyright (c) 2008 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: note mapper class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IMCVUIAPPNOTEMAPPER_H |
|
20 #define IMCVUIAPPNOTEMAPPER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Class is used for mapping engine errors to correct error notes |
|
29 * |
|
30 * imcvuiapp.exe |
|
31 * @since 5.0 |
|
32 */ |
|
33 class IMCVUiAppNoteMapper |
|
34 { |
|
35 public: // New functions |
|
36 /** |
|
37 * Shows specified error note for aErrorCode (UI specification) |
|
38 * @param aErrorCode Error code |
|
39 * @param aAdditionalData, any aditional info to show |
|
40 * @return Did class have information about given error or not |
|
41 */ |
|
42 static void ShowNoteL( const TInt aErrorCode, const TDesC& aAdditionalData ); |
|
43 |
|
44 |
|
45 /** |
|
46 * Displays query dialog with given data |
|
47 * @param aDialogResourceId Dialogs resource id |
|
48 * @param aPrompt Prompt text |
|
49 * @return Dialog dismiss key |
|
50 */ |
|
51 static TInt DisplayQueryDialogL( TInt aDialogResourceId, |
|
52 const TDesC& aPrompt = KNullDesC ); |
|
53 |
|
54 |
|
55 }; |
|
56 |
|
57 #endif // IMCVUIAPPNOTEMAPPER_H |
|
58 |
|
59 // End of File |