equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
18 #ifndef __AKNAPPUI_H__ |
18 #ifndef __AKNAPPUI_H__ |
19 #define __AKNAPPUI_H__ |
19 #define __AKNAPPUI_H__ |
20 |
20 |
21 // INCLUDES |
21 // INCLUDES |
22 #include <eikappui.h> |
22 #include <eikappui.h> |
23 #include <Eikspane.h> |
23 #include <eikspane.h> |
24 #include <eikcba.h> |
24 #include <eikcba.h> |
25 #include <avkon.hrh> |
25 #include <avkon.hrh> |
26 #include <akndef.h> |
26 #include <AknDef.h> |
27 #include <AknTouchPaneObserver.h> |
27 #include <akntouchpaneobserver.h> |
28 |
28 |
29 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
30 class CEikButtonGroupContainer; |
30 class CEikButtonGroupContainer; |
31 class CAknAppShutter; |
31 class CAknAppShutter; |
32 class CAknAppUiExtension; |
32 class CAknAppUiExtension; |
96 * application is run in a compatibility mode (QVGA window with a |
96 * application is run in a compatibility mode (QVGA window with a |
97 * virtual keypad. |
97 * virtual keypad. |
98 * |
98 * |
99 * @since S60 5.0 |
99 * @since S60 5.0 |
100 */ |
100 */ |
101 EAknTouchCompatibleFlag = 0x00800000 |
101 EAknTouchCompatibleFlag = 0x00800000, |
|
102 |
|
103 /** |
|
104 * Application supports single click. |
|
105 * |
|
106 * @since S60 5.2 |
|
107 */ |
|
108 EAknSingleClickCompatibleFlag = 0x01000000 |
102 }; |
109 }; |
103 |
110 |
104 public: |
111 public: |
105 |
112 |
106 enum TAppUiOrientation |
113 enum TAppUiOrientation |
158 // Since 3.1 |
165 // Since 3.1 |
159 EAknEnableMSK = EAknEnableMSKflag, |
166 EAknEnableMSK = EAknEnableMSKflag, |
160 // Since 3.2 |
167 // Since 3.2 |
161 EAknExplicitStartupEffectCompletion = EAknExplicitStartupEffectCompletionFlag, |
168 EAknExplicitStartupEffectCompletion = EAknExplicitStartupEffectCompletionFlag, |
162 // Since 5.0 |
169 // Since 5.0 |
163 EAknTouchCompatible = EAknTouchCompatibleFlag |
170 EAknTouchCompatible = EAknTouchCompatibleFlag, |
|
171 // Since 5.2 |
|
172 EAknSingleClickCompatible = EAknSingleClickCompatibleFlag |
164 }; |
173 }; |
165 enum TKeyEventFlag |
174 enum TKeyEventFlag |
166 { |
175 { |
167 EDisableSendKeyShort = 0x01, // Short press of send key |
176 EDisableSendKeyShort = 0x01, // Short press of send key |
168 EDisableSendKeyLong = 0x02 // Long press of send key |
177 EDisableSendKeyLong = 0x02 // Long press of send key |
438 * |
447 * |
439 * @since S60 v5.0 |
448 * @since S60 v5.0 |
440 * @return ETrue if the application is touch compatible |
449 * @return ETrue if the application is touch compatible |
441 */ |
450 */ |
442 IMPORT_C TBool IsTouchCompatible() const; |
451 IMPORT_C TBool IsTouchCompatible() const; |
443 |
452 |
|
453 /** |
|
454 * Checks if the application is single click compatible i.e. |
|
455 * it has been constructed with the flag EAknSingleClickCompatible. |
|
456 * |
|
457 * @since S60 v5.0 |
|
458 * @return ETrue if the application is single click compatible |
|
459 */ |
|
460 IMPORT_C TBool IsSingleClickCompatible() const; |
|
461 |
444 protected: // From CCoeAppUiBase |
462 protected: // From CCoeAppUiBase |
445 /** |
463 /** |
446 * From @c CCoeAppUiBase. |
464 * From @c CCoeAppUiBase. |
447 * Calls CCoeAppUi::HandleScreenDeviceChangedL(). |
465 * Calls CCoeAppUi::HandleScreenDeviceChangedL(). |
448 */ |
466 */ |