uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtRasterizerOOMPropertyMonitor.h
changeset 79 a1b3ef187795
equal deleted inserted replaced
64:ecb300a325e8 79:a1b3ef187795
       
     1 /*
       
     2 * Copyright (c) 2002 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:   CSvgtRasterizerOOMPropertyMonitor class for OOM implementation.
       
    15 *
       
    16 */
       
    17 #if !defined(_SVGTRASTERIZEROOMPROPERTYMONITOR_H_)
       
    18 #define _SVGTRASTERIZEROOMPROPERTYMONITOR_H_
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <e32property.h>
       
    22 #include "SvgtRasterizerKeyDefs.hrh"
       
    23 class CFbsRasterizer;
       
    24 
       
    25 class CSvgtRasterizerOOMPropertyMonitor : public CActive
       
    26     {
       
    27 public:
       
    28     static CSvgtRasterizerOOMPropertyMonitor* NewL();
       
    29     ~CSvgtRasterizerOOMPropertyMonitor();
       
    30     
       
    31 private: //Class methods
       
    32     CSvgtRasterizerOOMPropertyMonitor();
       
    33     void ConstructL();
       
    34     void Queue();
       
    35 
       
    36 private: //From CActive
       
    37     void RunL();
       
    38     void DoCancel();
       
    39 
       
    40 private:
       
    41     RProperty iOomWatcher;
       
    42     CFbsRasterizer* iRasterizer;
       
    43     };
       
    44     
       
    45 #endif //_SVGTRASTERIZEROOMPROPERTYMONITOR_H_
       
    46 
       
    47