windowing/windowserver/nga/CLIENT/RWS.CPP
changeset 116 171fae344dd4
parent 45 36b2e23a8629
child 178 89bd4cfee505
--- a/windowing/windowserver/nga/CLIENT/RWS.CPP	Tue Jun 22 15:21:29 2010 +0300
+++ b/windowing/windowserver/nga/CLIENT/RWS.CPP	Fri Jul 16 11:45:55 2010 +0300
@@ -22,6 +22,7 @@
 #include "CLIENT.H"
 #include "graphics/windowserverconstants.h"
 #include "rtfxeffect.h"
+#include <wspublishandsubscribedata.h>
 
 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));
+	}