}
result
+LiveboxInfo::SetName(const String& name)
+{
+ __name = name;
+ return E_SUCCESS;
+}
+
+const String&
+LiveboxInfo::GetName(void) const
+{
+ return __name;
+}
+
+result
LiveboxInfo::AddName(const String& language, const String& name)
{
result r = E_SUCCESS;
result SetIcon(const Osp::Base::String& icon);
const Osp::Base::String& GetIcon(void) const;
+ result SetName(const Osp::Base::String& name);
+ const Osp::Base::String& GetName(void) const;
+
result AddName(const Osp::Base::String& language, const Osp::Base::String& name);
Osp::Base::Collection::HashMap* GetNameList(void) const;
long long __updatePeriod;
Osp::Base::String __popupEnabled;
Osp::Base::String __icon;
+ Osp::Base::String __name;
Osp::Base::Collection::HashMap* __pNameList;
Osp::Base::Collection::ArrayList* __pSizeList;
__pWriter->StartElement("livebox");
- __pWriter->WriteAttribute("appid", pAppInfoImpl->GetPackageName());
+ __pWriter->WriteAttribute("appid", pAppInfoImpl->GetPackageName() + "." + pLiveboxInfo->GetName() );
__pWriter->WriteAttribute("period", period);
__pWriter->WriteAttribute("pinup", "false");
__pWriter->WriteAttribute("primary", "true");
XmlAttribute *pAttr = null;
char *pUpdatePeriod = null;
char *pPopupEnabled = null;
+ char *pName = null;
__pLiveboxInfo = new LiveboxInfo;
TryReturn(__pLiveboxInfo, false, "[osp-installer] __pLiveboxInfo is null");
__pLiveboxInfo->SetPopupEnabled(pPopupEnabled);
+ pName = pAttr->Find("Name");
+ TryReturn(pName, false, "[osp-installer] pName is null");
+
+ __pLiveboxInfo->SetName(pName);
+
AppLogTag(OSP_INSTALLER, "<Livebox UpdatePeriod=\"%lld\" pPopupEnabled=\"%s\">", updatePeriod, pPopupEnabled);
return true;