graphicsapitest/graphicssvs/wserv/inc/T_DataWindowInfo.h
changeset 103 2717213c588a
parent 98 bf7481649c98
child 116 171fae344dd4
child 121 d72fc2aace31
child 187 9f66f99ee56f
equal deleted inserted replaced
98:bf7481649c98 103:2717213c588a
     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 "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:
       
    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__ */