sysresmonitoring/oommonitor/inc/oomwserveventreceiver.h
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:  Main classes for Out of Memory Monitor.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef OOMWSERVEVENTRECEIVER_H
       
    20 #define OOMWSERVEVENTRECEIVER_H
       
    21 
       
    22 #include <w32std.h>
       
    23 class CMemoryMonitor;
       
    24 
       
    25 NONSHARABLE_CLASS(CWservEventReceiver) : public CActive
       
    26     {
       
    27 public:
       
    28     CWservEventReceiver(CMemoryMonitor& aMonitor, RWsSession& aWs);
       
    29     ~CWservEventReceiver();
       
    30     void ConstructL();
       
    31 private:
       
    32     void Queue();
       
    33     void DoCancel();
       
    34     void RunL();
       
    35 private:
       
    36     CMemoryMonitor& iMonitor;
       
    37     RWsSession& iWs;
       
    38     RWindowGroup iWg;
       
    39     };
       
    40 
       
    41 #endif /*OOMWSERVEVENTRECEIVER_H*/