graphics/wserv/inc/T_DataWindowTreeNode.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_WINDOWTREENODE_H__)
       
    20 #define __T_GRAPHICS_WSERV_WINDOWTREENODE_H__
       
    21 
       
    22 // User Includes
       
    23 #include "T_DataWsClientClass.h"
       
    24 #include "DataWrapperBase.h"
       
    25 #include "T_GraphicsUtil.h"
       
    26 
       
    27 // EPOC includes
       
    28 #include <w32std.h>
       
    29 #include <e32keys.h>
       
    30 
       
    31 /**
       
    32  * Test Active Notification class
       
    33  *
       
    34  */
       
    35 class CT_DataWindowTreeNode : public CDataWrapperBase, public CT_DataWsClientClass
       
    36 	{
       
    37 public:
       
    38 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    39 
       
    40 protected:
       
    41 	/**
       
    42 	* Protected constructor. First phase construction
       
    43 	*/
       
    44 	CT_DataWindowTreeNode();
       
    45 
       
    46 	virtual MWsClientClass*		GetClientClass() const;
       
    47 	virtual RWindowTreeNode*	GetWindowTreeNode() const=0;
       
    48 
       
    49 private:
       
    50 	/**
       
    51 	* Helper methods
       
    52 	*/
       
    53 	void	DoCmdClose();
       
    54 	void	DoCmdDestroyL();
       
    55 	void	DoCmdParent(const TDesC& aSection);
       
    56 	void	DoCmdPrevSibling(const TDesC& aSection);
       
    57 	void	DoCmdNextSibling(const TDesC& aSection);
       
    58 	void	DoCmdChild(const TDesC& aSection);
       
    59 	void	DoCmdOrdinalPriority(const TDesC& aSection);
       
    60 	void	DoCmdOrdinalPosition(const TDesC& aSection);
       
    61 	void	DoCmdFullOrdinalPosition(const TDesC& aSection);
       
    62 	void	DoCmdSetOrdinalPosition(const TDesC& aSection);
       
    63 	void	DoCmdWindowGroupId();
       
    64 	void	DoCmdSetPointerCursor(const TDesC& aSection);
       
    65 	void	DoCmdSetCustomPointerCursorL(const TDesC& aSection);
       
    66 	void	DoCmdEnableOnEvents(const TDesC& aSection);
       
    67 	void	DoCmdDisableOnEvents();
       
    68 	void	DoCmdEnableGroupChangeEvents();
       
    69 	void	DoCmdDisableGroupChangeEvents();
       
    70 	void	DoCmdEnableFocusChangeEvents();
       
    71 	void	DoCmdDisableFocusChangeEvents();
       
    72 	void	DoCmdEnableGroupListChangeEvents();
       
    73 	void	DoCmdDisableGroupListChangeEvents();
       
    74 	void	DoCmdEnableVisibilityChangeEvents();
       
    75 	void	DoCmdDisableVisibilityChangeEvents();
       
    76 	void	DoCmdEnableErrorMessages(const TDesC& aSection);
       
    77 	void	DoCmdDisableErrorMessages();
       
    78 	void	DoCmdEnableModifierChangedEvents(const TDesC& aSection);
       
    79 	void	DoCmdDisableModifierChangedEvents();
       
    80 	void	DoCmdSetNonFading(const TDesC& aSection);
       
    81 	void	DoCmdSetFaded(const TDesC& aSection);
       
    82 	void	DoCmdClearPointerCursor();
       
    83 	};
       
    84 
       
    85 #endif /* __T_GRAPHICS_WSERV_WINDOWTREENODE_H__ */