summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk5004.lee <mk5004.lee@samsung.com>2019-02-13 18:37:03 +0900
committermk5004.lee <mk5004.lee@samsung.com>2019-02-13 18:37:03 +0900
commit595c61089b42994c9d08a19a8db1960c7d2a418e (patch)
tree93b5ce46cca0cc55f48161424979bff83a34235d
parent4c471e8fd7ba6f14a437ff3c66d244b9cbfbcce7 (diff)
downloadnotification-595c61089b42994c9d08a19a8db1960c7d2a418e.tar.gz
notification-595c61089b42994c9d08a19a8db1960c7d2a418e.tar.bz2
notification-595c61089b42994c9d08a19a8db1960c7d2a418e.zip
Fix wrong return type
- delete unnecessary .cc file Change-Id: I244aa757710dc93d7e5923ba0859c9bf07fbf9e9 Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
-rw-r--r--notification-ex/item.cc113
-rw-r--r--notification-ex/item.h2
2 files changed, 1 insertions, 114 deletions
diff --git a/notification-ex/item.cc b/notification-ex/item.cc
deleted file mode 100644
index 95fa057..0000000
--- a/notification-ex/item.cc
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-#include <dlog.h>
-#include <glib.h>
-#include <unistd.h>
-#include <stdexcept>
-
-#include "notification-ex/item.h"
-#include "notification-ex/bundle.h"
-#include "notification-ex/exception.h"
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "NOTIFICATION_EX"
-
-namespace notification {
-namespace item {
-
-GroupItem::GroupItem() {
-}
-
-GroupItem:: ~GroupItem() {
-}
-
-TextItem::TextItem(std::string text) {
-}
-
-TextItem::~TextItem() {
-}
-
-IconItem::IconItem(std::string iconpath) {
-}
-
-IconItem::~IconItem() {
-}
-
-IconTextItem::IconTextItem(std::string iconpath, std::string text) {
-}
-
-IconTextItem::~IconTextItem() {
-}
-
-ImageItem::ImageItem(std::string imagePath) {
-}
-
-ImageItem::~ImageItem() {
-}
-
-ButtonItem::ButtonItem(std::string title) {
-}
-
-ButtonItem::~ButtonItem() {
-}
-
-ProgressItem::ProgressItem(float min, float max, float current) {
-}
-
-ProgressItem::~ProgressItem() {
-}
-
-CheckBoxItem::CheckBoxItem(bool checked) {
-}
-
-CheckBoxItem::~CheckBoxItem() {
-}
-
-ChatMessageItem::ChatMessageItem() {
-}
-
-ChatMessageItem::~ChatMessageItem() {
-}
-
-InputSelectorItem::InputSelectorItem() {
-}
-
-InputSelectorItem::~InputSelectorItem() {
-}
-
-EntryItem::EntryItem() {
-}
-
-EntryItem::~EntryItem() {
-}
-
-EffectItem::EffectItem() {
-}
-
-EffectItem::~EffectItem() {
-}
-
-CustomItem::CustomItem() {
-}
-
-CustomItem::~CustomItem() {
-}
-
-} //namespace item
-} //namespace notification_ex
diff --git a/notification-ex/item.h b/notification-ex/item.h
index c231ab1..b699336 100644
--- a/notification-ex/item.h
+++ b/notification-ex/item.h
@@ -97,7 +97,7 @@ class EXPORT_API IconTextItem : public AbstractItem {
void Deserialize(Bundle b) override;
std::shared_ptr<AbstractItem> FindByID(std::string id) override;
IconItem GetIconItem() const;
- IconItem GetTextItem() const;
+ TextItem GetTextItem() const;
private:
std::string iconPath_ = nullptr;