satui/satapp/src/csatuiobserver.cpp
changeset 27 7eb70891911c
parent 15 d7fc66ccd6fb
equal deleted inserted replaced
23:427125ac6cb8 27:7eb70891911c
  1020             }
  1020             }
  1021 
  1021 
  1022         case ESatSLaunchBrowserQuery:
  1022         case ESatSLaunchBrowserQuery:
  1023             {
  1023             {
  1024             TFLOGSTRING("Quering LaunchBrowser")
  1024             TFLOGSTRING("Quering LaunchBrowser")
  1025             HBufC* textHolder = NULL;
  1025             //HBufC* textHolder = NULL;
  1026 
  1026 
  1027             TRAP(error,
  1027             TRAP(error,
  1028             if (ESatAlphaIdNull != aAlphaIdStatus)
  1028             if (ESatAlphaIdNull != aAlphaIdStatus)
  1029                 {
  1029                 {
  1030                 TFLOGSTRING("CSatUiObserver::ConfirmCommand AlphaId \
  1030                 TFLOGSTRING("CSatUiObserver::ConfirmCommand AlphaId \
  1040                     }
  1040                     }
  1041                 else
  1041                 else
  1042                     {
  1042                     {
  1043                     TFLOGSTRING("CSatUiObserver::ConfirmCommand \
  1043                     TFLOGSTRING("CSatUiObserver::ConfirmCommand \
  1044                         AlphaId provided")
  1044                         AlphaId provided")
  1045                     textHolder = HBufC::NewLC(aText.Length());
  1045                     //textHolder = HBufC::NewLC(aText.Length());
  1046                     TPtr ptr = textHolder->Des();
  1046                     //TPtr ptr = textHolder->Des();
  1047                     ptr.Append(aText);
  1047                     //ptr.Append(aText);
  1048                     }
  1048                     }
  1049                 
  1049                 
  1050                 //TRAP(error, iActionImplementer->ConfirmLaunchBrowserL(*textHolder,
  1050                 //TRAP(error, iActionImplementer->ConfirmLaunchBrowserL(*textHolder,
  1051                 //    aActionAccepted, iconBitmap, selfExplanatory));
  1051                 //    aActionAccepted, iconBitmap, selfExplanatory));
  1052  
  1052  
  1053                 // Clean textHolder
  1053                 // Clean textHolder
  1054                 CleanupStack::PopAndDestroy(textHolder);
  1054                 //CleanupStack::PopAndDestroy(textHolder);
  1055                 }
  1055                 }
  1056 
  1056 
  1057            ); // TRAP
  1057            ); // TRAP
  1058             break;
  1058             break;
  1059             }
  1059             }