equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32base.h> |
|
20 #include "com_nokia_mj_impl_globalindicators_GlobalIndicatorsImpl.h" |
|
21 #include "CGlobalIndicators.h" |
|
22 |
|
23 /* |
|
24 * Class: com_nokia_mid_ui_GlobalIndicators |
|
25 * Method: _setGlobalIndicator |
|
26 */ |
|
27 JNIEXPORT jint JNICALL Java_com_nokia_mj_impl_globalindicators_GlobalIndicatorsImpl__1setGlobalIndicator( |
|
28 JNIEnv*, |
|
29 jclass, |
|
30 jint aIndicator, |
|
31 jint aValue) |
|
32 { |
|
33 return CGlobalIndicators::SetGlobalIndicator( |
|
34 (TInt) aIndicator, |
|
35 (TInt) aValue); |
|
36 } |
|
37 |
|
38 /* |
|
39 * Class: com_nokia_mid_ui_GlobalIndicators |
|
40 * Method: _getGlobalIndicator |
|
41 */ |
|
42 JNIEXPORT jint JNICALL Java_com_nokia_mj_impl_globalindicators_GlobalIndicatorsImpl__1getGlobalIndicator( |
|
43 JNIEnv*, |
|
44 jclass, |
|
45 jint aIndicator) |
|
46 { |
|
47 return CGlobalIndicators::GlobalIndicator((TInt) aIndicator); |
|
48 } |
|
49 // End of File |
|