sl@0: // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: // Standard window server header file
sl@0: // 
sl@0: //
sl@0: #ifndef WSPUBLISHANDSUBSCRIBEDATA_H
sl@0: #define WSPUBLISHANDSUBSCRIBEDATA_H
sl@0: 
sl@0: #include <e32cmn.h>
sl@0: 
sl@0: // Values for the render orientation P&S value that we publish
sl@0: // Used when the property is defined, attached to, and deleted
sl@0: const TUid  KRenderOrientationCategory  = {268450592};  // WServ UID3
sl@0: const TUint KRenderOrientationKey       = 0x102872E5;
sl@0: 
sl@0: /** The orientation of rendering the application intends to use.
sl@0: 
sl@0: @see RWsSession::IndicateAppOrientation(TOrientation aOrientation)*/
sl@0: enum TRenderOrientation
sl@0:     {
sl@0:     /** Fixed default orientation */
sl@0:     EDisplayOrientationNormal,
sl@0:     /** 90° clockwise */
sl@0:     EDisplayOrientation90CW,
sl@0:     /** 180° */
sl@0:     EDisplayOrientation180,
sl@0:     /** 270° clockwise */
sl@0:     EDisplayOrientation270CW,
sl@0:     /** The orientation is from the P&S Key */
sl@0:     EDisplayOrientationAuto,
sl@0:     /** use the orientation specified by the next top level window(s) that does not have ignore flag set. 
sl@0:     E.g. system dialog on top of foreground app. */
sl@0:     EDisplayOrientationIgnore
sl@0:     };
sl@0: 
sl@0: #endif // WSPUBLISHANDSUBSCRIBEDATA_H