80
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-2010 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: Unsupported old RSWInstSilentLauncher API
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include "SWInstApi.h"
|
|
19 |
#include "SWInstDefs.h"
|
|
20 |
#include <e32debug.h>
|
|
21 |
|
|
22 |
_LIT(KUnsupportedMsg, "RSWInstSilentLauncher is obsolete. Use Usif::RSoftwareInstall instead.");
|
|
23 |
|
|
24 |
using namespace SwiUI;
|
|
25 |
|
|
26 |
#define KSWInstSilentInstallServiceUid 0x102072F0
|
|
27 |
|
|
28 |
|
|
29 |
// ================= MEMBER FUNCTIONS =======================
|
|
30 |
|
|
31 |
// -----------------------------------------------------------------------------
|
|
32 |
// RSWInstSilentLauncher::RSWInstSilentLauncher
|
|
33 |
// -----------------------------------------------------------------------------
|
|
34 |
//
|
|
35 |
EXPORT_C RSWInstSilentLauncher::RSWInstSilentLauncher()
|
|
36 |
{
|
|
37 |
RDebug::Print(KUnsupportedMsg);
|
|
38 |
}
|
|
39 |
|
|
40 |
// -----------------------------------------------------------------------------
|
|
41 |
// RSWInstSilentLauncher::Connect
|
|
42 |
// -----------------------------------------------------------------------------
|
|
43 |
//
|
|
44 |
EXPORT_C TInt RSWInstSilentLauncher::Connect()
|
|
45 |
{
|
|
46 |
RDebug::Print(KUnsupportedMsg);
|
|
47 |
return KErrNotSupported;
|
|
48 |
}
|
|
49 |
|
|
50 |
// -----------------------------------------------------------------------------
|
|
51 |
// RSWInstSilentLauncher::ServiceUid
|
|
52 |
// -----------------------------------------------------------------------------
|
|
53 |
//
|
|
54 |
TUid RSWInstSilentLauncher::ServiceUid() const
|
|
55 |
{
|
|
56 |
return TUid::Uid( KSWInstSilentInstallServiceUid );
|
|
57 |
}
|
|
58 |
|
|
59 |
|