From af7eec0e65f1dced8f9e5f5637d4d7f185fc6aef Mon Sep 17 00:00:00 2001 From: Soohye Shin Date: Thu, 23 Apr 2015 16:42:24 +0900 Subject: [PATCH] remove unnecessary delete history functions Change-Id: I33fb2b71959442a558c9698e107a90252da7f453 Signed-off-by: Soohye Shin --- src/engine.cpp | 29 ----------------------------- src/engine.h | 2 -- 2 files changed, 31 deletions(-) diff --git a/src/engine.cpp b/src/engine.cpp index b733c5f..79399f1 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -1160,35 +1160,6 @@ const Eina_List *CEngine::UBarItemsList(void) } -bool CEngine::DelAllHistory(void) -{ - ASSERT(m); - - if (!m->pAppContentHistory->RemoveAll()) { - _ERR("failed to remove all history"); - return false; - } - - return true; -} - - -bool CEngine::DelHistory(CAppContent::EType type, const char *id) -{ - ASSERT(m); - - if (!id) - return false; - - if (!m->pAppContentHistory->Remove(type, id)) { - _ERR("failed to remove history"); - return false; - } - - return true; -} - - bool CEngine::AddHistory(CAppContent::EType type, const char *id) { ASSERT(m); diff --git a/src/engine.h b/src/engine.h index e31b3a3..dd090cd 100644 --- a/src/engine.h +++ b/src/engine.h @@ -90,8 +90,6 @@ public: const Eina_List *UBarItemsList(void); bool DelPin(CEngineBarItem *it); - bool DelHistory(CAppContent::EType type, const char *id); - bool DelAllHistory(void); bool AddHistory(CAppContent::EType type, const char *id); void AddUBar(CEngineUBarItem *it); -- 2.7.4