sysresmonitoring/oommonitor/src/oommonitorplugin.cpp
branchRCL_3
changeset 62 924385140d98
parent 58 0818dd463d41
child 63 c2c61fdca848
equal deleted inserted replaced
58:0818dd463d41 62:924385140d98
    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     }
       
   100 
    91 
   101 EXPORT_C void COomMonitorPluginV2::FreeRam()
    92 EXPORT_C void COomMonitorPluginV2::FreeRam()
   102     {
    93     {
   103     // Note that OomMonitorV2 will not call this version of the function
    94     // Note that OomMonitorV2 will not call this version of the function
   104     // so it does not need to be implemented in derived classes.
    95     // so it does not need to be implemented in derived classes.
   144             ws.SendEventToWindowGroup(wgId, event);
   135             ws.SendEventToWindowGroup(wgId, event);
   145             }
   136             }
   146         }
   137         }
   147     while (wgId>0);
   138     while (wgId>0);
   148     }
   139     }
   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