equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
26 #include <aknnotewrappers.h> |
26 #include <aknnotewrappers.h> |
27 #include <SisxUIData.rsg> |
27 #include <SisxUIData.rsg> |
28 #include <SWInstCommonUI.rsg> |
28 #include <SWInstCommonUI.rsg> |
29 #include <SWInstDefs.h> |
29 #include <SWInstDefs.h> |
30 #include <featmgr.h> |
30 #include <featmgr.h> |
31 #include <csxhelp/am.hlp.hrh> |
31 //#include <csxhelp/am.hlp.hrh> |
32 #include <swi/sisinstallerrors.h> |
32 #include <swi/sisinstallerrors.h> |
33 #include <AknUtils.h> |
33 #include <AknUtils.h> |
34 #include <eikfrlb.h> //for the marquee effect |
34 #include <eikfrlb.h> //for the marquee effect |
35 #include <eikfrlbd.h> //for the marquee effect |
35 #include <eikfrlbd.h> //for the marquee effect |
36 |
36 |
476 |
476 |
477 // Display "Replace?" confirmation query only if the new version is older |
477 // Display "Replace?" confirmation query only if the new version is older |
478 // than the currently installed old version (i.e. when downgrading). See |
478 // than the currently installed old version (i.e. when downgrading). See |
479 // also User::QueryVersionSupported() although it has bit different meaning. |
479 // also User::QueryVersionSupported() although it has bit different meaning. |
480 TBool downgrading = ( newVersion.iMajor < oldVersion.iMajor || |
480 TBool downgrading = ( newVersion.iMajor < oldVersion.iMajor || |
481 ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor < oldVersion.iMinor ) || |
481 ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor < oldVersion.iMinor ) ); |
482 ( newVersion.iMajor == oldVersion.iMajor && newVersion.iMinor == oldVersion.iMinor && |
|
483 newVersion.iBuild < oldVersion.iBuild ) ); |
|
484 if( !downgrading ) |
482 if( !downgrading ) |
485 { |
483 { |
486 iShowingDialog = EFalse; |
484 iShowingDialog = EFalse; |
487 return ETrue; |
485 return ETrue; |
488 } |
486 } |
1837 // (other items were commented in a header). |
1835 // (other items were commented in a header). |
1838 // ----------------------------------------------------------------------------- |
1836 // ----------------------------------------------------------------------------- |
1839 // |
1837 // |
1840 TInt CSisxUIHandler::ShowCapabilitiesHelp( TAny* aPtr ) |
1838 TInt CSisxUIHandler::ShowCapabilitiesHelp( TAny* aPtr ) |
1841 { |
1839 { |
1842 TRAP_IGNORE( |
1840 //TRAP_IGNORE( |
1843 reinterpret_cast<CSisxUIHandler*>(aPtr)->iCommonDialogs->LaunchHelpL( KAM_HLP_INSTALL_CAPAB ) |
1841 // reinterpret_cast<CSisxUIHandler*>(aPtr)->iCommonDialogs->LaunchHelpL( KAM_HLP_INSTALL_CAPAB ) |
1844 ); |
1842 // ); |
1845 |
1843 |
1846 return KErrNone; |
1844 return KErrNone; |
1847 } |
1845 } |
1848 |
1846 |
1849 |
1847 |