103
|
1 |
// Copyright (c) 2008-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 pointer click plugin.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#ifndef __MULTIPTRCLICK_H__
|
|
19 |
#define __MULTIPTRCLICK_H__
|
|
20 |
|
|
21 |
#ifndef __W32CLICK_H__
|
|
22 |
#include <w32click.h>
|
|
23 |
#endif
|
|
24 |
|
|
25 |
#include <graphics/pointereventdata.h>
|
|
26 |
|
|
27 |
#define MULTIPTR_CLICK_THIRD_UID 268455781
|
|
28 |
|
|
29 |
_LIT(KMultiPtrClickChunk, "PointerClickChunk");
|
|
30 |
|
|
31 |
enum TMultiPtrClickCommands
|
|
32 |
{
|
|
33 |
EMultiPtrClickEventAdd,
|
|
34 |
EMultiPtrClickEventError,
|
|
35 |
EMultiPtrClickEventErrorDesc,
|
|
36 |
EMultiPtrClickEventReset,
|
|
37 |
EMultiPtrOtherEventAdd,
|
|
38 |
};
|
|
39 |
|
|
40 |
union TMultiPtrClickArgUnion
|
|
41 |
{
|
|
42 |
const TAny* any;
|
|
43 |
const TWsEvent* WsEvent;
|
|
44 |
const TPointerEventData* OtherEvent;
|
|
45 |
};
|
|
46 |
|
|
47 |
#endif //__MULTIPTRCLICK_H__
|