common/tools/ats/smoketest/graphics/wserv/inc/T_DataWindowBase.h
changeset 833 6ffc235847d0
child 872 17498133d9ad
equal deleted inserted replaced
832:9b2bf01d4d36 833:6ffc235847d0
       
     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_WINDOWBASE_H__)
       
    20 #define __T_GRAPHICS_WSERV_WINDOWBASE_H__
       
    21 
       
    22 // User Includes
       
    23 #include "T_DataWindowTreeNode.h"
       
    24 
       
    25 /**
       
    26  * Test Active Notification class
       
    27  *
       
    28  */
       
    29 class CT_DataWindowBase : public CT_DataWindowTreeNode
       
    30 	{
       
    31 public:
       
    32 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    33 
       
    34 protected:
       
    35 	/**
       
    36 	* Protected constructor. First phase construction
       
    37 	*/
       
    38 	CT_DataWindowBase();
       
    39 
       
    40 	virtual RWindowBase*		GetWindowBase() const=0;
       
    41 	virtual RWindowTreeNode*	GetWindowTreeNode() const;
       
    42 
       
    43 private:
       
    44 	/**
       
    45 	* Helper methods
       
    46 	*/
       
    47 	void	DoCmdActivate();
       
    48 	void	DoCmdSetPosition(const TDesC& aSection);
       
    49 	void	DoCmdSetSizeErr(const TDesC& aSection);
       
    50 	void	DoCmdSetExtentErr(const TDesC& aSection);
       
    51 	void	DoCmdSize(const TDesC& aSection);
       
    52 	void	DoCmdInquireOffsetL(const TDesC& aSection);
       
    53 	void	DoCmdPointerFilter(const TDesC& aSection);
       
    54 	void	DoCmdSetPointerGrab(const TDesC& aSection);
       
    55 	void	DoCmdClaimPointerGrab(const TDesC& aSection);
       
    56 	void	DoCmdSetPointerCapture(const TDesC& aSection);
       
    57 	void	DoCmdSetPointerCapturePriority(const TDesC& aSection);
       
    58 	void	DoCmdGetPointerCapturePriority(const TDesC& aSection);
       
    59 	void	DoCmdSetVisible(const TDesC& aSection);
       
    60 	void	DoCmdSetShadowHeight(const TDesC& aSection);
       
    61 	void	DoCmdSetShadowDisabled(const TDesC& aSection);
       
    62 	void	DoCmdPosition(const TDesC& aSection);
       
    63 	void	DoCmdAbsPosition(const TDesC& aSection);
       
    64 	void	DoCmdSetCornerType(const TDesC& aSection);
       
    65 	void	DoCmdSetShapeL(const TDesC& aSection);
       
    66 	void	DoCmdSetRequiredDisplayMode(const TDesC& aSection);
       
    67 	void	DoCmdDisplayMode(const TDesC& aSection);
       
    68 	void	DoCmdEnableBackup(const TDesC& aSection);
       
    69 	void	DoCmdRequestPointerRepeatEvent(const TDesC& aSection);
       
    70 	void	DoCmdCancelPointerRepeatEventRequest();
       
    71 	void	DoCmdAllocPointerMoveBuffer(const TDesC& aSection);
       
    72 	void	DoCmdFreePointerMoveBuffer();
       
    73 	void	DoCmdEnablePointerMoveBuffer();
       
    74 	void	DoCmdDisablePointerMoveBuffer();
       
    75 	void	DoCmdRetrievePointerMoveBufferL(const TDesC& aSection);
       
    76 	void	DoCmdDiscardPointerMoveBuffer();
       
    77 	void	DoCmdAddKeyRect(const TDesC& aSection);
       
    78 	void	DoCmdRemoveAllKeyRects();
       
    79 	void	DoCmdPasswordWindow(const TDesC& aSection);
       
    80 	void	DoCmdFadeBehind(const TDesC& aSection);
       
    81 	void	DoCmdIsFaded(const TDesC& aSection);
       
    82 	void	DoCmdIsNonFading(const TDesC& aSection);
       
    83 	void	DoCmdMoveToGroupL(const TDesC& aSection);
       
    84 	};
       
    85 
       
    86 #endif /* __T_GRAPHICS_WSERV_WINDOWBASE_H__ */