|
1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 |
|
18 #ifndef __AKNAPPUI_H__ |
|
19 #define __AKNAPPUI_H__ |
|
20 |
|
21 |
|
22 //#include <e32base.h> |
|
23 |
|
24 |
|
25 class CAknAppUiBase |
|
26 { |
|
27 public: |
|
28 |
|
29 enum TAppUiOrientation |
|
30 { |
|
31 /** |
|
32 * Use the default device screen rotation of the product for this |
|
33 * application. This is the default rotation setting for an |
|
34 * application, and it should be used by nearly all applications. |
|
35 */ |
|
36 EAppUiOrientationUnspecified, |
|
37 /** |
|
38 * Use a portrait screen rotation for this application. |
|
39 * This should only be used when an application specifically wants |
|
40 * portrait rotation. The device will select an appropriate portrait |
|
41 * rotation, if one is available. |
|
42 */ |
|
43 EAppUiOrientationPortrait, |
|
44 /** |
|
45 * Use a landscape screen rotation for this application. |
|
46 * This should only be used when an application specifically wants |
|
47 * landscape rotation. The device will select an appropriate landscape |
|
48 * rotation, if one is available. |
|
49 */ |
|
50 EAppUiOrientationLandscape, |
|
51 /** |
|
52 * Use the normal device screen rotation for this application. |
|
53 * Both portrait and landscape screen rotations are possible. The |
|
54 * application rotation follows device screen rotation. |
|
55 */ |
|
56 EAppUiOrientationAutomatic |
|
57 }; |
|
58 |
|
59 }; |
|
60 |
|
61 #endif |