sysresmonitoring/oommonitor/inc/oomrunplugin.inl
branchRCL_3
changeset 1 0fdb7f6b0309
child 19 924385140d98
equal deleted inserted replaced
0:2e3d3ce01487 1:0fdb7f6b0309
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Classes for executing OOM actions (e.g. closing applications and running plugins).
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef OOMRUNPLUGININL_H_
       
    20 #define OOMRUNPLUGININL_H_
       
    21 
       
    22 #include "oomactionconfig.h"
       
    23 #include "oompluginwaiter.h"
       
    24 #include "oomrunpluginconfig.h"
       
    25 
       
    26 inline COomActionConfig& COomRunPlugin::GetConfig()
       
    27     {
       
    28     return iConfig;
       
    29     }
       
    30 
       
    31 
       
    32 inline TBool COomRunPlugin::IsRunning()
       
    33     {
       
    34     return iPluginWaiter->IsActive();
       
    35     }
       
    36 
       
    37 inline void COomRunPlugin::WaitCompleted()
       
    38     {
       
    39     MemoryFreed(KErrNone);
       
    40     }
       
    41 
       
    42 
       
    43 #endif /*OOMRUNPLUGININL_H_*/