graphics/wserv/inc/T_DataWindowInfo.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if (!defined __T_GRAPHICS_WSERV_WINDOWINFO_H__)
       
    20 #define __T_GRAPHICS_WSERV_WINDOWINFO_H__
       
    21 
       
    22 //	User Includes
       
    23 #include "DataWrapperBase.h"
       
    24 
       
    25 //	EPOC Includes
       
    26 #include <w32std.h>
       
    27 #include <w32adll.h>
       
    28 
       
    29 /**
       
    30  * Test Active Notification class
       
    31  *
       
    32  */
       
    33 class CT_DataWindowInfo : public CDataWrapperBase
       
    34 	{
       
    35 
       
    36 public:
       
    37 	static CT_DataWindowInfo*	NewL();
       
    38 
       
    39 	~CT_DataWindowInfo();
       
    40 
       
    41 	virtual TAny*	GetObject();
       
    42 	virtual void	SetObjectL(TAny* aAny);
       
    43 	virtual void	DisownObjectL();
       
    44 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    45 
       
    46 protected:
       
    47 	CT_DataWindowInfo();
       
    48 	void  ConstructL();
       
    49 
       
    50 private:
       
    51 	/**
       
    52 	 * Helper methods
       
    53 	 */
       
    54 	void	DestroyData();
       
    55 	void	DoCmdnew();
       
    56 	void	DoCmdDestructor();
       
    57 	void	DoCmdGetRedrawRegionAndRedrawShadowRegion(const TDesC& aEntry);
       
    58 
       
    59 private:
       
    60 	TWindowInfo*	iWindowInfo;
       
    61 	const TRegion*	iRedrawRegion;
       
    62 	const TRegion*	iRedrawShadowRegion;
       
    63 	};
       
    64 
       
    65 #endif /* __T_GRAPHICS_WSERV_WINDOWINFO_H__ */