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 "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: This class is used to post events to the java. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMMAFOREGROUNDEVENT_H |
|
20 #define CMMAFOREGROUNDEVENT_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "cmmaevent.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 /** |
|
27 * This class is used to post events to the java. |
|
28 * |
|
29 * |
|
30 */ |
|
31 |
|
32 NONSHARABLE_CLASS(CMMAForegroundEvent) : public CMMAEvent |
|
33 { |
|
34 public: // Construction |
|
35 /** |
|
36 * Constructor. |
|
37 * |
|
38 * @param aNotifyObject java side foreground object |
|
39 * @param aHandleEventMethod java side method id |
|
40 * @param aDisposable Indicates if this event will be destroyed |
|
41 * after dispatch. |
|
42 */ |
|
43 CMMAForegroundEvent(jobject aNotifyObject, |
|
44 jmethodID aHandleEventMethod, |
|
45 TDisposability aDisposable = EDisposableEvent); |
|
46 |
|
47 |
|
48 private: // from CMMAEvent |
|
49 |
|
50 void Dispatch(JNIEnv& aJni); |
|
51 |
|
52 }; |
|
53 |
|
54 #endif // CMMAFOREGROUNDEVENT_H |
|