src/hbservers/hbthemeserveroogmplugin/hbthemeserveroogmplugin.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 23 e6ad4ef83b23
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    70     if(aBytesToFree > 0) {
    70     if(aBytesToFree > 0) {
    71         oogmClient->FreeRam(aBytesToFree);
    71         oogmClient->FreeRam(aBytesToFree);
    72     }
    72     }
    73 }
    73 }
    74 
    74 
    75 void CThemeSrvOogmPlugin::FreeRam(TInt aBytesToFree, TBool)
    75 void CThemeSrvOogmPlugin::FreeRam(TInt aBytesToFree, TBool aUseSwRendering)
    76 {
    76 {
    77     //TODO: support for renderer switch
    77     oogmClient->FreeRam(aBytesToFree, aUseSwRendering);
    78     FreeRam(aBytesToFree);
       
    79 }
    78 }
    80 
    79 
    81 // -----------------------------------------------------------------------------
    80 // -----------------------------------------------------------------------------
    82 // CThemeSrvOogmPlugin::MemoryGood
    81 // CThemeSrvOogmPlugin::MemoryGood
    83 // -----------------------------------------------------------------------------
    82 // -----------------------------------------------------------------------------
    85 void CThemeSrvOogmPlugin::MemoryGood()
    84 void CThemeSrvOogmPlugin::MemoryGood()
    86 {
    85 {
    87     oogmClient->GoodMemory();
    86     oogmClient->GoodMemory();
    88 }
    87 }
    89 
    88 
    90 void CThemeSrvOogmPlugin::MemoryGood(TBool)
    89 void CThemeSrvOogmPlugin::MemoryGood(TBool aUsingSwRendering)
    91 {
    90 {
    92     //TODO: support for renderer switch
    91     oogmClient->GoodMemory(aUsingSwRendering);
    93     MemoryGood();
       
    94 }
    92 }
       
    93 
    95 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
    96 // Creates plugin.
    95 // Creates plugin.
    97 // -----------------------------------------------------------------------------
    96 // -----------------------------------------------------------------------------
    98 //
    97 //
    99 CThemeSrvOogmPlugin* CThemeSrvOogmPlugin::NewL()
    98 CThemeSrvOogmPlugin* CThemeSrvOogmPlugin::NewL()