| 444 | } |
| 445 | |
| 446 | void DuiLib::CWebBrowserUI::SetAttribute( LPCTSTR pstrName, LPCTSTR pstrValue ) |
| 447 | { |
| 448 | if (_tcscmp(pstrName, _T("homepage")) == 0) |
| 449 | { |
| 450 | m_sHomePage = pstrValue; |
| 451 | } |
| 452 | else if (_tcscmp(pstrName, _T("autonavi"))==0) |
| 453 | { |
| 454 | m_bAutoNavi = (_tcscmp(pstrValue, _T("true")) == 0); |
| 455 | } |
| 456 | else |
| 457 | CActiveXUI::SetAttribute(pstrName, pstrValue); |
| 458 | } |
| 459 | |
| 460 | void DuiLib::CWebBrowserUI::NavigateHomePage() |
| 461 | { |
nothing calls this directly
no outgoing calls
no test coverage detected