diff -r 245df5276b97 -r 3a625661d1ce appinstall_plat/sifui_api/src/sifui.cpp --- a/appinstall_plat/sifui_api/src/sifui.cpp Wed Aug 18 09:55:45 2010 +0300 +++ b/appinstall_plat/sifui_api/src/sifui.cpp Thu Sep 02 20:34:03 2010 +0300 @@ -165,41 +165,60 @@ } // --------------------------------------------------------------------------- -// CSifUi::ShowSingleSelectionL() +// CSifUi::ShowSelectLanguageL() // --------------------------------------------------------------------------- // -EXPORT_C TBool CSifUi::ShowSingleSelectionL( const TDesC& aTitle, - const MDesCArray& aSelectableItems, TInt& aSelectedIndex ) +EXPORT_C TInt CSifUi::ShowSelectLanguageL( const RArray& aLanguages ) { - return iPrivate->ShowSingleSelectionL( aTitle, aSelectableItems, aSelectedIndex ); + return iPrivate->ShowSelectLanguageL( aLanguages ); } // --------------------------------------------------------------------------- -// CSifUi::ShowMultiSelectionL() +// CSifUi::ShowSelectOptionsL() // --------------------------------------------------------------------------- // -EXPORT_C TBool CSifUi::ShowMultiSelectionL( const TDesC& aTitle, - const MDesCArray& aSelectableItems, RArray& aSelectedIndexes ) +EXPORT_C TBool CSifUi::ShowSelectOptionsL( const MDesCArray& aSelectableItems, + RArray& aSelectedIndexes ) { - return iPrivate->ShowMultiSelectionL( aTitle, aSelectableItems, aSelectedIndexes ); + return iPrivate->ShowSelectOptionsL( aSelectableItems, aSelectedIndexes ); } // --------------------------------------------------------------------------- -// CSifUi::ShowFailedL() +// DEPRECATED: CSifUi::ShowFailedL() // --------------------------------------------------------------------------- // // TODO: This function is deprecated, remove it completely. -EXPORT_C void CSifUi::ShowFailedL( TInt aErrorCode, const TDesC& aErrorMessage, - const TDesC& aErrorDetails ) +EXPORT_C void CSifUi::ShowFailedL( TInt /*aErrorCode*/, const TDesC& /*aErrorMessage*/, + const TDesC& /*aErrorDetails*/ ) + { + User::Invariant(); + } + +// --------------------------------------------------------------------------- +// DEPRECATED: CSifUi::ShowSingleSelectionL() +// --------------------------------------------------------------------------- +// +EXPORT_C TBool CSifUi::ShowSingleSelectionL( const TDesC& /*aTitle*/, + const MDesCArray& /*aSelectableItems*/, TInt& /*aSelectedIndex*/ ) { - CSifUiErrorInfo* errorInfo = CSifUiErrorInfo::NewLC( Usif::EUnknown, aErrorCode, - 0, aErrorMessage, aErrorDetails ); - iPrivate->ShowFailedL( *errorInfo ); - CleanupStack::PopAndDestroy( errorInfo ); + User::Invariant(); + return EFalse; // for compiler } // --------------------------------------------------------------------------- +// DEPRECATED: CSifUi::ShowMultiSelectionL() +// --------------------------------------------------------------------------- +// +EXPORT_C TBool CSifUi::ShowMultiSelectionL( const TDesC& /*aTitle*/, + const MDesCArray& /*aSelectableItems*/, RArray& /*aSelectedIndexes*/ ) + { + User::Invariant(); + return EFalse; // for compiler + } + + +// --------------------------------------------------------------------------- // CSifUi::CSifUi() // --------------------------------------------------------------------------- //