uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtRasterizerOOMPropertyMonitor.h
changeset 81 92450c1e1512
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtRasterizerOOMPropertyMonitor.h	Tue Jun 08 19:34:23 2010 +0800
@@ -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 <e32base.h>
+#include <e32property.h>
+#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_
+
+