equal
deleted
inserted
replaced
28 #include "AppLauncherForCSXH.h" |
28 #include "AppLauncherForCSXH.h" |
29 #include "csxhconstants.h" |
29 #include "csxhconstants.h" |
30 |
30 |
31 |
31 |
32 #include <brctlinterface.h> |
32 #include <brctlinterface.h> |
33 #include <browserlauncher.h> |
33 #include <BrowserLauncher.h> |
34 #include <brctldefs.h> |
34 #include <BrCtlDefs.h> |
35 |
35 |
36 #include <coemain.h> |
36 #include <coemain.h> |
37 #include <AknUtils.h> |
37 #include <AknUtils.h> |
38 #include <akntitle.h> |
38 #include <akntitle.h> |
39 #include <aknnotewrappers.h> |
39 #include <aknnotewrappers.h> |
448 //TSW Error:TKOI-74KE89: Help crashes when closing after viewing a link topic |
448 //TSW Error:TKOI-74KE89: Help crashes when closing after viewing a link topic |
449 //When user presses back keys very quickly, TOC2 objects use to destroy and |
449 //When user presses back keys very quickly, TOC2 objects use to destroy and |
450 //then browser call back function triggers which leads to crash. This check |
450 //then browser call back function triggers which leads to crash. This check |
451 //will avoid crash. |
451 //will avoid crash. |
452 TUid viewId = iDocument.GetDisplayTopic()->GetViewID(); |
452 TUid viewId = iDocument.GetDisplayTopic()->GetViewID(); |
453 if(viewId == KCSXHToc1ViewID || viewId == KCSXHKywdToc1ViewID |
453 if (viewId == KCSXHToc1ViewID || viewId == KCSXHKywdToc1ViewID |
454 || viewId == KCSXHToc2ViewID || viewId == KCSXHKywdToc2ViewID) |
454 || viewId == KCSXHToc2ViewID || viewId == KCSXHKywdToc2ViewID |
|
455 || viewId == KCSXHToc1AppHelpsViewID || viewId == KCSXHToc2AppHelpsViewID) |
|
456 { |
455 return; |
457 return; |
|
458 } |
456 |
459 |
457 //When user clicks on Application Topics, application topics |
460 //When user clicks on Application Topics, application topics |
458 //corresponding to the topic being displayed has to be opened |
461 //corresponding to the topic being displayed has to be opened |
459 //Hence update the Display topic information if required. |
462 //Hence update the Display topic information if required. |
460 |
463 |