projects
/
platform
/
core
/
api
/
notification.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix wrong log value
[platform/core/api/notification.git]
/
notification-ex
/
text_item.cc
diff --git
a/notification-ex/text_item.cc
b/notification-ex/text_item.cc
index
075df87
..
b25cdbe
100644
(file)
--- a/
notification-ex/text_item.cc
+++ b/
notification-ex/text_item.cc
@@
-30,6
+30,8
@@
#define TEXT_CONTENTS_KEY "__TEXT_CONTENTS_KEY__"
#define TEXT_HYPERLINK_KEY "__TEXT_HYPERLINK_KEY__"
#define TEXT_CONTENTS_KEY "__TEXT_CONTENTS_KEY__"
#define TEXT_HYPERLINK_KEY "__TEXT_HYPERLINK_KEY__"
+using namespace tizen_base;
+
namespace notification {
namespace item {
TextItem::TextItem(std::string id, std::string text, std::string hyperlink,
namespace notification {
namespace item {
TextItem::TextItem(std::string id, std::string text, std::string hyperlink,
@@
-68,10
+70,10
@@
void TextItem::Deserialize(Bundle b) {
impl_->hyperlink_ = b.GetString(TEXT_HYPERLINK_KEY);
}
impl_->hyperlink_ = b.GetString(TEXT_HYPERLINK_KEY);
}
-
AbstractItem& TextItem::FindByID(std::string id
) {
- if (Get
Id() == id
)
- return
*this
;
- return
FactoryManager::GetInst().GetNullItem()
;
+
bool TextItem::IsItemTypeExist(int type
) {
+ if (Get
Type() == type
)
+ return
true
;
+ return
false
;
}
void TextItem::SetContents(std::string contents) {
}
void TextItem::SetContents(std::string contents) {