--- a/windowing/windowserver/nga/SERVER/openwfc/CLIENT.CPP Tue Jun 22 15:21:29 2010 +0300
+++ b/windowing/windowserver/nga/SERVER/openwfc/CLIENT.CPP Fri Jul 16 11:45:55 2010 +0300
@@ -1286,6 +1286,9 @@
case EWsClOpCreateDrawableSource:
CreateDrawableSourceL(*pData.CreateDrawableSource);
break;
+ case EWsClOpIndicateAppOrientation:
+ IndicateAppOrientation(*pData.Orientation);
+ break;
default:
PPanic(EWservPanicOpcode);
break;
@@ -2138,6 +2141,17 @@
drawableSource->ConstructL(aDrawableSourceData);
CleanupStack::Pop();
}
+
+void CWsClient::IndicateAppOrientation(TRenderOrientation aOrientation)
+ {
+ iIndicatedAppOrientation = aOrientation;
+ CWsTop::CheckRenderOrientation();
+ }
+
+TInt CWsClient::GetIndicatedAppOrientation()
+ {
+ return iIndicatedAppOrientation;
+ }
//
// class CWsCliObj