equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implemetation of WidgetEventHandler |
|
15 * |
|
16 */ |
|
17 #ifndef __WIDGETEVENTHANDLER_H__ |
|
18 #define __WIDGETEVENTHANDLER_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 namespace KJS { |
|
23 |
|
24 |
|
25 class JSObject; |
|
26 class JSValue; |
|
27 class ExecState; |
|
28 |
|
29 class WidgetEventHandler : public CBase |
|
30 { |
|
31 public: |
|
32 WidgetEventHandler( JSValue* aValue, ExecState* aExecState ); |
|
33 virtual ~WidgetEventHandler(); |
|
34 |
|
35 public: |
|
36 void InvokeCall(const TInt& val = -1); |
|
37 void Delete(); |
|
38 |
|
39 private: |
|
40 JSValue* iEventHandler; |
|
41 |
|
42 ExecState* iGlobalExecState; |
|
43 |
|
44 TBool iInUse; |
|
45 TBool iSelfDelete; |
|
46 }; |
|
47 |
|
48 } |
|
49 |
|
50 #endif |