diff options
author | SukHyung, Kang <shine.kang@samsung.com> | 2019-03-18 13:54:03 +0900 |
---|---|---|
committer | SukHyung, Kang <shine.kang@samsung.com> | 2019-03-18 13:54:03 +0900 |
commit | d9bf739b9adbb1eba018e5b8bbe6a7cc5d904958 (patch) | |
tree | f0057ca85fb318622596889b1e2066691cb601d1 | |
parent | 92c1adfed030b07412375a0beafe2a44b98e27c4 (diff) | |
download | notification-d9bf739b9adbb1eba018e5b8bbe6a7cc5d904958.tar.gz notification-d9bf739b9adbb1eba018e5b8bbe6a7cc5d904958.tar.bz2 notification-d9bf739b9adbb1eba018e5b8bbe6a7cc5d904958.zip |
Add action parameter to Base class for EntryItem and TextItem
Change-Id: I0be1f385c2e71223c11cc710026c98dee41f656c
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
-rw-r--r-- | notification-ex/entry_item.cc | 4 | ||||
-rw-r--r-- | notification-ex/text_item.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/notification-ex/entry_item.cc b/notification-ex/entry_item.cc index 31c4caf..44c55b0 100644 --- a/notification-ex/entry_item.cc +++ b/notification-ex/entry_item.cc @@ -34,11 +34,11 @@ namespace notification { namespace item { EntryItem::EntryItem(std::shared_ptr<AbstractAction> action) - : AbstractItem(AbstractItem::Type::Entry), impl_(new Impl(this)) { + : AbstractItem(AbstractItem::Type::Entry, action), impl_(new Impl(this)) { } EntryItem::EntryItem(std::string id, std::shared_ptr<AbstractAction> action) - : AbstractItem(id, AbstractItem::Type::Entry), impl_(new Impl(this)) { + : AbstractItem(id, AbstractItem::Type::Entry, action), impl_(new Impl(this)) { } EntryItem::Impl::Impl(EntryItem* parent) diff --git a/notification-ex/text_item.cc b/notification-ex/text_item.cc index cced868..6b153cb 100644 --- a/notification-ex/text_item.cc +++ b/notification-ex/text_item.cc @@ -34,7 +34,7 @@ namespace notification { namespace item { TextItem::TextItem(std::string id, std::string text, std::string hyperlink, std::shared_ptr<AbstractAction> action) - : AbstractItem(id, AbstractItem::Type::Text), + : AbstractItem(id, AbstractItem::Type::Text, action), impl_(new Impl(this, text, hyperlink)) { } |