equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 |
19 |
20 // INCLUDE FILES |
20 // INCLUDE FILES |
21 #include "CaUiVoIPExtension.h" |
21 #include "cauivoipextension.h" |
22 #include <CallUI.rsg> |
22 #include <callui.rsg> |
23 #include <featmgr.h> |
23 #include <featmgr.h> |
24 #include <spsettings.h> |
24 #include <spsettings.h> |
25 #include <spproperty.h> |
25 #include <spproperty.h> |
26 #include <StringLoader.h> // String Loader. |
26 #include <stringloader.h> // String Loader. |
27 |
27 |
28 |
28 |
29 |
29 |
30 // ============================ MEMBER FUNCTIONS =============================== |
30 // ============================ MEMBER FUNCTIONS =============================== |
31 |
31 |
88 { |
88 { |
89 isProfiles = ETrue; |
89 isProfiles = ETrue; |
90 } |
90 } |
91 CleanupStack::PopAndDestroy( &voipServiceIds ); |
91 CleanupStack::PopAndDestroy( &voipServiceIds ); |
92 |
92 |
93 return isProfiles; |
93 return isProfiles; |
94 } |
94 } |
95 |
95 |
96 // ----------------------------------------------------------------------------- |
96 // ----------------------------------------------------------------------------- |
97 // CCaUiVoIPExtension::GetVoIPServiceIdsL() |
97 // CCaUiVoIPExtension::GetVoIPServiceIdsL() |
98 // |
98 // |
115 |
115 |
116 // go throught all the services and check if any |
116 // go throught all the services and check if any |
117 // of them supports internet call |
117 // of them supports internet call |
118 for ( TInt i = 0; idArray.Count() > i; i++) |
118 for ( TInt i = 0; idArray.Count() > i; i++) |
119 { |
119 { |
120 // check if the service supports internet call |
120 // check if the service supports internet call |
121 CSPProperty* property = CSPProperty::NewLC(); |
121 CSPProperty* property = CSPProperty::NewLC(); |
122 // get attribute mask of the service |
122 // get attribute mask of the service |
123 User::LeaveIfError( settingsApi->FindPropertyL( idArray[i], |
123 User::LeaveIfError( settingsApi->FindPropertyL( idArray[i], |
124 EPropertyServiceAttributeMask, *property ) ); |
124 EPropertyServiceAttributeMask, *property ) ); |
125 |
125 |