equal
deleted
inserted
replaced
40 |
40 |
41 #include "ApSettingsLookups.h" |
41 #include "ApSettingsLookups.h" |
42 #include "ApSettingsDlg.h" |
42 #include "ApSettingsDlg.h" |
43 #include "ApSettingsModel.h" |
43 #include "ApSettingsModel.h" |
44 #include <ApSetUI.rsg> |
44 #include <ApSetUI.rsg> |
45 |
|
46 #include <csxhelp/cp.hlp.hrh> |
|
47 |
45 |
48 #include "ApSettingsHandlerUI.hrh" |
46 #include "ApSettingsHandlerUI.hrh" |
49 #include "ApsettingshandleruiImpl.h" |
47 #include "ApsettingshandleruiImpl.h" |
50 #include "ApSettingsHandlerConsts.h" |
48 #include "ApSettingsHandlerConsts.h" |
51 #include <ApSettingsHandlerCommons.h> |
49 #include <ApSettingsHandlerCommons.h> |
773 void CApSettingsDlg::GetHelpContext(TCoeHelpContext& aContext) const |
771 void CApSettingsDlg::GetHelpContext(TCoeHelpContext& aContext) const |
774 { |
772 { |
775 APSETUILOGGER_ENTERFN( ESettings,"Settings::GetHelpContext") |
773 APSETUILOGGER_ENTERFN( ESettings,"Settings::GetHelpContext") |
776 |
774 |
777 aContext.iMajor = iHandler->iHelpMajor; |
775 aContext.iMajor = iHandler->iHelpMajor; |
778 switch ( iBearerType ) |
|
779 { |
|
780 case EApBearerTypeCSD: |
|
781 case EApBearerTypeHSCSD: |
|
782 { |
|
783 switch ( iLevel ) |
|
784 { |
|
785 case 2: |
|
786 { |
|
787 if ( iL2Ipv4 ) |
|
788 { |
|
789 aContext.iContext = KSET_HLP_AP_DATA_AS_IPV4; |
|
790 } |
|
791 else |
|
792 { |
|
793 aContext.iContext = KSET_HLP_AP_DATA_AS_IPV6; |
|
794 } |
|
795 break; |
|
796 } |
|
797 case 1: |
|
798 { |
|
799 aContext.iContext = KSET_HLP_AP_SETTING_DATA_AS; |
|
800 break; |
|
801 } |
|
802 case 0: |
|
803 default: |
|
804 { |
|
805 aContext.iContext = KSET_HLP_AP_SETTING_DATA; |
|
806 break; |
|
807 } |
|
808 } |
|
809 break; |
|
810 } |
|
811 case EApBearerTypeGPRS: |
|
812 { |
|
813 if ( iLevel ) |
|
814 { |
|
815 aContext.iContext = KSET_HLP_AP_SETTING_GPRS_AS; |
|
816 } |
|
817 else |
|
818 { |
|
819 aContext.iContext = KSET_HLP_AP_SETTING_GPRS; |
|
820 } |
|
821 break; |
|
822 } |
|
823 case EApBearerTypeWLAN: |
|
824 { |
|
825 switch ( iLevel ) |
|
826 { |
|
827 case 2: |
|
828 { |
|
829 if ( iL2Ipv4 ) |
|
830 { |
|
831 aContext.iContext = KSET_HLP_AP_WLAN_AS_IPV4; |
|
832 } |
|
833 else |
|
834 { |
|
835 aContext.iContext = KSET_HLP_AP_WLAN_AS_IPV6; |
|
836 } |
|
837 break; |
|
838 } |
|
839 case 1: |
|
840 { |
|
841 aContext.iContext = KSET_HLP_AP_SETTING_WLAN_AS; |
|
842 break; |
|
843 } |
|
844 case 0: |
|
845 { |
|
846 aContext.iContext = KSET_HLP_AP_SETTING_WLAN; |
|
847 break; |
|
848 } |
|
849 default: |
|
850 { |
|
851 break; |
|
852 } |
|
853 } |
|
854 break; |
|
855 } |
|
856 default: |
|
857 { |
|
858 __ASSERT_DEBUG( EFalse, Panic( EInvalidBearerType ) ); |
|
859 break; |
|
860 } |
|
861 } |
|
862 |
776 |
863 APSETUILOGGER_LEAVEFN( ESettings,"Settings::GetHelpContext") |
777 APSETUILOGGER_LEAVEFN( ESettings,"Settings::GetHelpContext") |
864 } |
778 } |
865 |
779 |
866 |
780 |