diff options
author | Alexander\ Kovalenko <al.kovalenko@samsung.com> | 2017-09-28 16:30:31 +0300 |
---|---|---|
committer | Alexander\ Kovalenko <al.kovalenko@samsung.com> | 2017-09-28 16:39:16 +0300 |
commit | d88d68094aa2956b80d4c95e322cd885e77465e1 (patch) | |
tree | 7dbb7a5162d8a95d912a46c2d0cef6632bdca3ac | |
parent | 6771ac617629cf607de0485e523b603895238d35 (diff) | |
download | call-setting-d88d68094aa2956b80d4c95e322cd885e77465e1.tar.gz call-setting-d88d68094aa2956b80d4c95e322cd885e77465e1.tar.bz2 call-setting-d88d68094aa2956b80d4c95e322cd885e77465e1.zip |
TizenRefApp-9460 [Call Setting] Add CallWaitingItem and CallerIdItem to MainPage
Change-Id: I52e51b465ab8c210b0952a4c077a43b9b335caf1
-rw-r--r-- | call-setting/presenters/pages/MainPage.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/call-setting/presenters/pages/MainPage.cpp b/call-setting/presenters/pages/MainPage.cpp index b086cf8..2a28df9 100644 --- a/call-setting/presenters/pages/MainPage.cpp +++ b/call-setting/presenters/pages/MainPage.cpp @@ -16,6 +16,9 @@ #include "MainPage.h" +#include "call-setting/presenters/items/CallerIdItem.h" +#include "call-setting/presenters/items/CallWaitingItem.h" + #include "BlockListPage.h" #include "call-setting/resources.h" @@ -128,6 +131,12 @@ namespace call_setting { { m_listPresenter->append(*makeTitleListItem(STR_MAIN_PAGE_TITLE)); + m_listPresenter->append(*CallWaitingItem::newInstance( + m_callSetting->getCallWaiting(), asShared(getContent()))); + + m_listPresenter->append(*CallerIdItem::newInstance( + m_callSetting->getCallerId(), asShared(getContent()))); + m_listPresenter->append(*makeMenuListItem( STR_BLOCK_LIST_PAGE_TITLE, WEAK_DELEGATE( MainPage::onBlockListItemSelected, asWeak(*this)))); |