equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2008 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 provides CJavaEventSource services |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSOFTNOTIFICATIONEVENTSOURCE_H |
|
20 #define CSOFTNOTIFICATIONEVENTSOURCE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <mevents.h> |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * This class provides CJavaEventSource services. |
|
29 */ |
|
30 NONSHARABLE_CLASS(CSoftNotificationEventSource): |
|
31 public CJavaEventSource< CSoftNotificationEventSource > |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * C++ default constructor. |
|
36 */ |
|
37 CSoftNotificationEventSource(); |
|
38 |
|
39 /** |
|
40 * 2nd phase constructor. |
|
41 * |
|
42 * @param aJni JNI environment |
|
43 * @param aPeer Java side object for the event source |
|
44 * @param aServer Event server |
|
45 */ |
|
46 void ConstructL(JNIEnv& aJni, |
|
47 jobject aPeer, |
|
48 TJavaEventServer aServer); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CSoftNotificationEventSource(); |
|
54 |
|
55 private: // from CJavaEventSource |
|
56 /** |
|
57 * Called when finalization occurs. |
|
58 */ |
|
59 void FinalizeSvr(); |
|
60 |
|
61 }; |
|
62 |
|
63 #endif // CSOFTNOTIFICATIONEVENTSOURCE_H |