sysresmonitoring/oommonitor/src/oommonitorplugin.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
child 82 4610cd70c542
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
    85     FUNC_LOG;
    85     FUNC_LOG;
    86 
    86 
    87     return iMemoryMonitor->iWs;
    87     return iMemoryMonitor->iWs;
    88     }
    88     }
    89 
    89 
    90 
    90 //-----------------------------------------------------------------------------
       
    91 // Function: AppId
       
    92 // Function returns the UID3 of the application which implements the 
       
    93 // plugin
       
    94 //-----------------------------------------------------------------------------
       
    95 //
       
    96 EXPORT_C const TUid COomMonitorPlugin::AppId() const
       
    97     {
       
    98     return KNullUid;
       
    99     }
    91 
   100 
    92 EXPORT_C void COomMonitorPluginV2::FreeRam()
   101 EXPORT_C void COomMonitorPluginV2::FreeRam()
    93     {
   102     {
    94     // Note that OomMonitorV2 will not call this version of the function
   103     // Note that OomMonitorV2 will not call this version of the function
    95     // so it does not need to be implemented in derived classes.
   104     // so it does not need to be implemented in derived classes.
   135             ws.SendEventToWindowGroup(wgId, event);
   144             ws.SendEventToWindowGroup(wgId, event);
   136             }
   145             }
   137         }
   146         }
   138     while (wgId>0);
   147     while (wgId>0);
   139     }
   148     }
       
   149 
       
   150 //-----------------------------------------------------------------------------
       
   151 // Function: AppId
       
   152 // Function returns the UID3 of the application which implements the 
       
   153 // plugin
       
   154 //-----------------------------------------------------------------------------
       
   155 //
       
   156 const TUid CAppOomMonitorPlugin::AppId() const
       
   157     {
       
   158     return iAppUid;
       
   159     }
       
   160