diff -r d1838696558c -r 9dcba1ee99f7 appinstaller/AppinstUi/swinstcli_stub/src/SWInstSilentLauncher.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appinstaller/AppinstUi/swinstcli_stub/src/SWInstSilentLauncher.cpp Wed Oct 20 14:52:56 2010 +0300 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Unsupported old RSWInstSilentLauncher API +* +*/ + +#include "SWInstApi.h" +#include "SWInstDefs.h" +#include + +_LIT(KUnsupportedMsg, "RSWInstSilentLauncher is obsolete. Use Usif::RSoftwareInstall instead."); + +using namespace SwiUI; + +#define KSWInstSilentInstallServiceUid 0x102072F0 + + +// ================= MEMBER FUNCTIONS ======================= + +// ----------------------------------------------------------------------------- +// RSWInstSilentLauncher::RSWInstSilentLauncher +// ----------------------------------------------------------------------------- +// +EXPORT_C RSWInstSilentLauncher::RSWInstSilentLauncher() + { + RDebug::Print(KUnsupportedMsg); + } + +// ----------------------------------------------------------------------------- +// RSWInstSilentLauncher::Connect +// ----------------------------------------------------------------------------- +// +EXPORT_C TInt RSWInstSilentLauncher::Connect() + { + RDebug::Print(KUnsupportedMsg); + return KErrNotSupported; + } + +// ----------------------------------------------------------------------------- +// RSWInstSilentLauncher::ServiceUid +// ----------------------------------------------------------------------------- +// +TUid RSWInstSilentLauncher::ServiceUid() const + { + return TUid::Uid( KSWInstSilentInstallServiceUid ); + } + +