From: mk5004.lee Date: Wed, 13 Feb 2019 09:37:03 +0000 (+0900) Subject: Fix wrong return type X-Git-Tag: submit/tizen/20190228.000028~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=595c61089b42994c9d08a19a8db1960c7d2a418e;p=platform%2Fcore%2Fapi%2Fnotification.git Fix wrong return type - delete unnecessary .cc file Change-Id: I244aa757710dc93d7e5923ba0859c9bf07fbf9e9 Signed-off-by: mk5004.lee --- diff --git a/notification-ex/item.cc b/notification-ex/item.cc deleted file mode 100644 index 95fa0570..00000000 --- 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 -#include -#include -#include - -#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 c231ab13..b6993368 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 FindByID(std::string id) override; IconItem GetIconItem() const; - IconItem GetTextItem() const; + TextItem GetTextItem() const; private: std::string iconPath_ = nullptr;