src/hbservers/hbthemeserveroogmplugin/hbthemeserveroogmplugin.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 23 e6ad4ef83b23
--- a/src/hbservers/hbthemeserveroogmplugin/hbthemeserveroogmplugin.cpp	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbservers/hbthemeserveroogmplugin/hbthemeserveroogmplugin.cpp	Fri May 14 16:09:54 2010 +0300
@@ -72,10 +72,9 @@
     }
 }
 
-void CThemeSrvOogmPlugin::FreeRam(TInt aBytesToFree, TBool)
+void CThemeSrvOogmPlugin::FreeRam(TInt aBytesToFree, TBool aUseSwRendering)
 {
-    //TODO: support for renderer switch
-    FreeRam(aBytesToFree);
+    oogmClient->FreeRam(aBytesToFree, aUseSwRendering);
 }
 
 // -----------------------------------------------------------------------------
@@ -87,11 +86,11 @@
     oogmClient->GoodMemory();
 }
 
-void CThemeSrvOogmPlugin::MemoryGood(TBool)
+void CThemeSrvOogmPlugin::MemoryGood(TBool aUsingSwRendering)
 {
-    //TODO: support for renderer switch
-    MemoryGood();
+    oogmClient->GoodMemory(aUsingSwRendering);
 }
+
 // -----------------------------------------------------------------------------
 // Creates plugin.
 // -----------------------------------------------------------------------------