equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-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: Contains the key definitions used for navigation in AP |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 /** |
|
20 * @file ActivePalette2NavigationKeys.h |
|
21 * Contains the key definitions used for navigation in AP |
|
22 */ |
|
23 |
|
24 #ifndef _ACTIVE_PALETTE_2_NAVIGATION_KEYS_H |
|
25 #define _ACTIVE_PALETTE_2_NAVIGATION_KEYS_H |
|
26 |
|
27 #include <e32std.h> |
|
28 |
|
29 /** |
|
30 * Navigation key type |
|
31 */ |
|
32 class TActivePalette2NavigationKeys |
|
33 { |
|
34 public: |
|
35 /** |
|
36 * Constructor |
|
37 * @param aNaviPrev The scancode of the previous key |
|
38 * @param aNaviNext The scancode of the next key |
|
39 * @param aNaviSelect The scancode of the select key |
|
40 */ |
|
41 IMPORT_C TActivePalette2NavigationKeys(TInt aNaviPrev, |
|
42 TInt aNaviNext, |
|
43 TInt aNaviSelect); |
|
44 |
|
45 /** |
|
46 * Constructor |
|
47 * Assumes default navigation keys |
|
48 */ |
|
49 IMPORT_C TActivePalette2NavigationKeys(void); |
|
50 |
|
51 /// The "Previous" key's scancode |
|
52 TInt iNaviPrev; |
|
53 /// The "Next" key's scancode |
|
54 TInt iNaviNext; |
|
55 /// The "Select" key's scancode |
|
56 TInt iNaviSelect; |
|
57 }; |
|
58 |
|
59 |
|
60 #endif // _ACTIVE_PALETTE_2_NAVIGATION_KEYS_H |