diff -r 000000000000 -r ba25891c3a9e installationservices/swi/test/trevocation/tui.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/installationservices/swi/test/trevocation/tui.cpp Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,106 @@ +/* +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* +*/ + + +#include "tui.h" + +TBool TUI::DisplayTextL(const CAppInfo&, TFileTextOption, const TDesC&) + { + return ETrue; + } + +void TUI::DisplayErrorL(const CAppInfo&, TErrorDialog, const TDesC&) + { + } + +TBool TUI::DisplayDependencyBreakL(const CAppInfo&, const RPointerArray&) + { + return ETrue; + } + +TBool TUI::DisplayApplicationsInUseL(const CAppInfo&, const RPointerArray&) + { + return ETrue; + } + +TBool TUI::DisplayQuestionL(const CAppInfo&, TQuestionDialog, const TDesC&) + { + return ETrue; + } + +TBool TUI::DisplayUninstallL(const CAppInfo&) + { + return ETrue; + } + +TBool TUI::DisplayInstallL(const CAppInfo&, const CApaMaskedBitmap*, const RPointerArray&) + { + return ETrue; + } + +TBool TUI::DisplayGrantCapabilitiesL(const CAppInfo&, const TCapabilitySet&) + { + return ETrue; + } + +TInt TUI::DisplayLanguageL(const CAppInfo&, const RArray&) + { + return 0; + } + +TInt TUI::DisplayDriveL(const CAppInfo&, TInt64, const RArray&, const RArray&) + { + return 0; + } + +TBool TUI::DisplayUpgradeL(const CAppInfo&, const CAppInfo&) + { + return ETrue; + } + +TBool TUI::DisplayOptionsL(const CAppInfo&, const RPointerArray&, RArray&) + { + return ETrue; + } + +TBool TUI::HandleInstallEventL(const CAppInfo&, TInstallEvent, TInt, const TDesC&) + { + return ETrue; + } + +void TUI::HandleCancellableInstallEventL(const CAppInfo&, TInstallCancellableEvent, MCancelHandler&, TInt, const TDesC&) + { + } + +TBool TUI::DisplaySecurityWarningL(const CAppInfo&, TSignatureValidationResult, RPointerArray&, RPointerArray&, TBool) + { + return ETrue; + } + +TBool TUI::DisplayOcspResultL(const CAppInfo&, TRevocationDialogMessage, RPointerArray&, RPointerArray&, TBool) + { + return ETrue; + } + +void TUI::DisplayCannotOverwriteFileL(const CAppInfo&, const CAppInfo&, const TDesC&) + { + } + +TBool TUI::DisplayMissingDependencyL( const CAppInfo&, const TDesC&, TVersion, TVersion, TVersion) + { + return ETrue; + }