windowing/windowserver/test/TClick/multiptrclick.h
author hgs
Tue, 22 Jun 2010 15:21:29 +0300
changeset 103 2717213c588a
permissions -rw-r--r--
201024
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
103
hgs
parents:
diff changeset
     1
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     2
// All rights reserved.
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
hgs
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     7
//
hgs
parents:
diff changeset
     8
// Initial Contributors:
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    10
//
hgs
parents:
diff changeset
    11
// Contributors:
hgs
parents:
diff changeset
    12
//
hgs
parents:
diff changeset
    13
// Description:
hgs
parents:
diff changeset
    14
// Client interface to the pointer click plugin.
hgs
parents:
diff changeset
    15
// 
hgs
parents:
diff changeset
    16
//
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
#ifndef __MULTIPTRCLICK_H__
hgs
parents:
diff changeset
    19
#define __MULTIPTRCLICK_H__
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
#ifndef __W32CLICK_H__
hgs
parents:
diff changeset
    22
#include <w32click.h>
hgs
parents:
diff changeset
    23
#endif
hgs
parents:
diff changeset
    24
hgs
parents:
diff changeset
    25
#include <graphics/pointereventdata.h>
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
#define MULTIPTR_CLICK_THIRD_UID 268455781
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
_LIT(KMultiPtrClickChunk, "PointerClickChunk");
hgs
parents:
diff changeset
    30
hgs
parents:
diff changeset
    31
enum TMultiPtrClickCommands
hgs
parents:
diff changeset
    32
	{
hgs
parents:
diff changeset
    33
	EMultiPtrClickEventAdd,
hgs
parents:
diff changeset
    34
	EMultiPtrClickEventError,
hgs
parents:
diff changeset
    35
	EMultiPtrClickEventErrorDesc,
hgs
parents:
diff changeset
    36
	EMultiPtrClickEventReset,
hgs
parents:
diff changeset
    37
	EMultiPtrOtherEventAdd,
hgs
parents:
diff changeset
    38
	};
hgs
parents:
diff changeset
    39
hgs
parents:
diff changeset
    40
union TMultiPtrClickArgUnion
hgs
parents:
diff changeset
    41
	{
hgs
parents:
diff changeset
    42
	const TAny* any;
hgs
parents:
diff changeset
    43
	const TWsEvent* WsEvent;
hgs
parents:
diff changeset
    44
	const TPointerEventData* OtherEvent;
hgs
parents:
diff changeset
    45
	};
hgs
parents:
diff changeset
    46
hgs
parents:
diff changeset
    47
#endif	//__MULTIPTRCLICK_H__