windowing/windowserver/TClick/CLICK.H
changeset 116 171fae344dd4
parent 103 2717213c588a
equal deleted inserted replaced
103:2717213c588a 116:171fae344dd4
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Client interface to the click plugin.
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __CLICK_H__
       
    19 #define __CLICK_H__
       
    20 
       
    21 #define CLICK_THIRD_UID 268455780
       
    22 
       
    23 enum TClickOutputModes
       
    24 	{
       
    25 	EClickNone,
       
    26 	EClickCheck,
       
    27 	EClickToWindow,		//For WINS only
       
    28 	};
       
    29 
       
    30 enum TClickCommands
       
    31 	{
       
    32 	// Control Between Plug-in Types
       
    33 	EClickCommandToggleOutput=1,
       
    34 	EClickCommandSetOutput,
       
    35 	// Key and Pointer Testing
       
    36 	EClickEventAdd=100,
       
    37 	EClickFailed,
       
    38 	EClickEvents,
       
    39 	EClickReset,
       
    40 	// Other Event Testing
       
    41 	EClickCreateGroupWin=200,
       
    42 	EClickCheckGpWinId,
       
    43 	EClickCloseGroupWin,
       
    44 	EClickCloseWin,
       
    45 	EClickPointerEvent,
       
    46 	};
       
    47 
       
    48 class TPointerEventInfo
       
    49 	{
       
    50 public:
       
    51 	TInt iClientHandle;
       
    52 	TInt iWinGpId;
       
    53 	TPoint iWinOrigin;		//Relative to parent
       
    54 	TPoint iParentOrigin;	//Relative to screen
       
    55 	};
       
    56 
       
    57 #endif	//__CLICK_H__