diff -r 9f66f99ee56f -r 1b081cb0800b windowing/windowserver/nga/CLIENT/RWS.CPP --- a/windowing/windowserver/nga/CLIENT/RWS.CPP Fri Sep 24 16:14:28 2010 +0300 +++ b/windowing/windowserver/nga/CLIENT/RWS.CPP Fri Sep 24 16:44:34 2010 +0300 @@ -22,6 +22,7 @@ #include "CLIENT.H" #include "graphics/windowserverconstants.h" #include "rtfxeffect.h" +#include const TInt KMaxWSERVMessagesSlot=-1; @@ -2585,3 +2586,15 @@ RTFXEffect tfxEffect(iWsHandle, iBuffer); tfxEffect.OverrideTFXEffect(RTFXEffect::ETFXSession, aAction, aPurpose, aResourceDir, aFilenameOutgoing, aFilenameIncoming, aFlags); } + +EXPORT_C void RWsSession::IndicateAppOrientation(TRenderOrientation aOrientation) +/** +Application informs window server the orientation of rendering it intends to use + +@param aOrientation The orientation the application intends to use + +@publishedPartner +*/ + { + return(WriteInt(aOrientation,EWsClOpIndicateAppOrientation)); + }