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 send direct content invalidate event |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMMADCINVALIDATEEVENT_H |
|
20 #define CMMADCINVALIDATEEVENT_H |
|
21 |
|
22 #include <mevents.h> |
|
23 #include "cmmaevent.h" |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * This class is used to send direct content invalidate event. |
|
29 * |
|
30 */ |
|
31 NONSHARABLE_CLASS(CMMADCInvalidateEvent): public CMMAEvent |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Constructor. |
|
36 * @param aGUIObject Java object to invalidate |
|
37 * @param aSize New size for direct content |
|
38 */ |
|
39 CMMADCInvalidateEvent(jobject aGUIObject, TSize aSize); |
|
40 |
|
41 private: // from CJavaEvent |
|
42 /** |
|
43 * @param aJni JNI environment |
|
44 */ |
|
45 void Dispatch(JNIEnv& aJni); |
|
46 |
|
47 private: |
|
48 // New size to set |
|
49 TSize iSize; |
|
50 }; |
|
51 |
|
52 #endif // CMMADCINVALIDATEEVENT_H |