|
1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Standard window server header file |
|
15 // |
|
16 // |
|
17 #ifndef WSPUBLISHANDSUBSCRIBEDATA_H |
|
18 #define WSPUBLISHANDSUBSCRIBEDATA_H |
|
19 |
|
20 #include <e32cmn.h> |
|
21 |
|
22 // Values for the render orientation P&S value that we publish |
|
23 // Used when the property is defined, attached to, and deleted |
|
24 const TUid KRenderOrientationCategory = {268450592}; // WServ UID3 |
|
25 const TUint KRenderOrientationKey = 0x102872E5; |
|
26 |
|
27 /** The orientation of rendering the application intends to use. |
|
28 |
|
29 @see RWsSession::IndicateAppOrientation(TOrientation aOrientation)*/ |
|
30 enum TRenderOrientation |
|
31 { |
|
32 /** Fixed default orientation */ |
|
33 EDisplayOrientationNormal, |
|
34 /** 90° clockwise */ |
|
35 EDisplayOrientation90CW, |
|
36 /** 180° */ |
|
37 EDisplayOrientation180, |
|
38 /** 270° clockwise */ |
|
39 EDisplayOrientation270CW, |
|
40 /** The orientation is from the P&S Key */ |
|
41 EDisplayOrientationAuto, |
|
42 /** use the orientation specified by the next top level window(s) that does not have ignore flag set. |
|
43 E.g. system dialog on top of foreground app. */ |
|
44 EDisplayOrientationIgnore |
|
45 }; |
|
46 |
|
47 #endif // WSPUBLISHANDSUBSCRIBEDATA_H |