152 iTextHelp = iEikonEnv->AllocReadResourceL( R_MENU_HELP ); |
152 iTextHelp = iEikonEnv->AllocReadResourceL( R_MENU_HELP ); |
153 } |
153 } |
154 |
154 |
155 iTextExit = iEikonEnv->AllocReadResourceL( R_MENU_EXIT ); |
155 iTextExit = iEikonEnv->AllocReadResourceL( R_MENU_EXIT ); |
156 |
156 |
157 if ( !iAppContainer->IsVideoSupported() ) |
157 if ( !IsIpVoiceMailboxServices() && |
|
158 ( ( !iAppContainer->Number().Length() && |
|
159 !iAppContainer->VideoNumber().Length() ) || |
|
160 ( !iAppContainer->Number().Length() && |
|
161 !iAppContainer->IsVideoSupported() ) ) ) |
158 { |
162 { |
159 // If the vmbx number is not defined, query it as soon as |
163 // If the vmbx number is not defined, query it as soon as |
160 // the app has been fully constructed. |
164 // the app has been fully constructed. |
161 if ( !iAppContainer->Number().Length() && |
165 iQueryLauncher = CVmQueryLauncher::NewL( *iAppContainer, *this ); |
162 !IsIpVoiceMailboxServices() ) |
166 iAppUiState = ELauncherQueryingNumber; |
163 { |
|
164 // Query cs vmbx number since ip vmbx address cannot be asked |
|
165 iAppContainer->QueryNumberL( EVmbxNotDefinedQuery ); |
|
166 } |
|
167 } |
|
168 else |
|
169 { |
|
170 if ( !iAppContainer->Number().Length() && |
|
171 !iAppContainer->VideoNumber().Length() && |
|
172 !IsIpVoiceMailboxServices() ) |
|
173 { |
|
174 iQueryLauncher = CVmQueryLauncher::NewL( *iAppContainer, *this ); |
|
175 iAppUiState = ELauncherQueryingNumber; |
|
176 } |
|
177 } |
167 } |
178 |
168 |
179 DrawCbaButtonsL(); |
169 DrawCbaButtonsL(); |
180 } |
170 } |
181 |
171 |