LiveboxProviderInfo* pProviderInfo = dynamic_cast<LiveboxProviderInfo*>(__pLiveboxProviderList->GetAt(index));
AppAssert(pProviderInfo);
- AppLog("%ls", pProviderInfo->GetDisplayName().GetPointer());
+ AppLog("Display name (%ls)", pProviderInfo->GetDisplayName().GetPointer());
+ AppLog("AppId (%ls)", pProviderInfo->GetAppId().GetPointer());
+ AppLog("Name (%ls)", pProviderInfo->GetName().GetPointer());
+ pList->Add(*(new (std::nothrow) String( pProviderInfo->GetDisplayName())));
pList->Add(*(new (std::nothrow) String( pProviderInfo->GetAppId()) ));
pList->Add(*(new (std::nothrow) String( pProviderInfo->GetName()) ));
LiveboxProviderInfo* pProviderInfo = dynamic_cast<LiveboxProviderInfo*>(__pLiveboxProviderList->GetAt(index));
if (pProviderInfo)
{
- pItem->AddElement(itemRect, ID_FORMAT_STRING, pProviderInfo->GetDisplayName()+" ("+pProviderInfo->GetAppId()+")", true);
+ String itemTitle(pProviderInfo->GetDisplayName());
+
+ AppLog("Item title (%ls)", itemTitle.GetPointer());
+
+ pItem->AddElement(itemRect, ID_FORMAT_STRING, itemTitle, true);
}
return pItem;
{
if (pArgs && (pArgs->GetCount() > 0))
{
- String* pAppId = dynamic_cast<String*>(pArgs->GetAt(0));
- String* pLiveboxProviderName = dynamic_cast<String*>(pArgs->GetAt(1));
+ String* pDisplayName = dynamic_cast<String*>(pArgs->GetAt(0));
+ String* pAppId = dynamic_cast<String*>(pArgs->GetAt(1));
+ String* pLiveboxProviderName = dynamic_cast<String*>(pArgs->GetAt(2));
if (pAppId != null && pLiveboxProviderName != null)
{
+ AppLog("%ls", pDisplayName->GetPointer());
AppLog("%ls", pAppId->GetPointer());
+ AppLog("%ls", pLiveboxProviderName->GetPointer());
Header* pHeader = GetHeader();
- pHeader->SetTitleText(*pAppId);
+ pHeader->SetTitleText(*pDisplayName);
CreateLiveboxView(*pAppId, *pLiveboxProviderName);
}