diff -r 6ef40bf8fd34 -r 08459e712984 uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtRasterizerOOMPropertyMonitor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtRasterizerOOMPropertyMonitor.h Tue Apr 27 17:41:10 2010 +0300 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: CSvgtRasterizerOOMPropertyMonitor class for OOM implementation. +* +*/ +#if !defined(_SVGTRASTERIZEROOMPROPERTYMONITOR_H_) +#define _SVGTRASTERIZEROOMPROPERTYMONITOR_H_ + +#include +#include +#include "SvgtRasterizerKeyDefs.hrh" +class CFbsRasterizer; + +class CSvgtRasterizerOOMPropertyMonitor : public CActive + { +public: + static CSvgtRasterizerOOMPropertyMonitor* NewL(); + ~CSvgtRasterizerOOMPropertyMonitor(); + +private: //Class methods + CSvgtRasterizerOOMPropertyMonitor(); + void ConstructL(); + void Queue(); + +private: //From CActive + void RunL(); + void DoCancel(); + +private: + RProperty iOomWatcher; + CFbsRasterizer* iRasterizer; + }; + +#endif //_SVGTRASTERIZEROOMPROPERTYMONITOR_H_ + +