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: systemamstraderprivateclient.cpp |
|
15 * Part of OMJ S60 environment updater process. |
|
16 * Used to close the old S60 java environment in a controlled way. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include "systemamstraderprivateclient.h" |
|
22 |
|
23 |
|
24 // constants |
|
25 _LIT(KSystemAMSTraderPrivateServerName, "!SystemAMSTrader.Private"); |
|
26 const TInt KShutDownJavaEnv = 3; |
|
27 |
|
28 |
|
29 //Definition |
|
30 TBool RSystemAMSTraderPrivateClient::ShutdownJavaEnv(TRequestStatus& aStatus) |
|
31 { |
|
32 TVersion version; |
|
33 TInt err; |
|
34 err = CreateSession(KSystemAMSTraderPrivateServerName, version); |
|
35 if (err == KErrNone) |
|
36 { |
|
37 SendReceive(KShutDownJavaEnv, TIpcArgs(), aStatus); |
|
38 } |
|
39 return err == KErrNone; |
|
40 } |
|
41 |
|