equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: Avkon CoreUI JNI methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "com_nokia_mj_impl_coreuiqt_CoreUiImpl.h" |
|
19 |
|
20 #ifdef __SYMBIAN32__ |
|
21 #include <tstasksettings.h> |
|
22 #endif // __SYMBIAN32__ |
|
23 |
|
24 #include "logger.h" |
|
25 |
|
26 /** |
|
27 * Hide or show application at TaskManager. |
|
28 */ |
|
29 JNIEXPORT void JNICALL Java_com_nokia_mj_impl_coreuiqt_CoreUiImpl__1hideApplication |
|
30 (JNIEnv* /*env*/, jobject /*peer*/, jboolean hide) |
|
31 { |
|
32 JELOG2(EJavaUI); |
|
33 #ifdef __SYMBIAN32__ |
|
34 TsTaskSettings taskSettings; |
|
35 (void)taskSettings.setVisibility(hide); |
|
36 #endif // __SYMBIAN32__ |
|
37 } |