From 42305fef8af7c84913e1cb6faaf53dcda26d1a72 Mon Sep 17 00:00:00 2001 From: Jaesung Ku Date: Thu, 11 Jul 2013 11:04:48 +0900 Subject: [PATCH] Remove useless file Change-Id: Ibd01f2724995036fef1257c3f8653055ccb444af Signed-off-by: Jaesung Ku --- src/app/inc/FApp_AppLifecycleEvent.cpp | 84 ---------------------------------- 1 file changed, 84 deletions(-) delete mode 100755 src/app/inc/FApp_AppLifecycleEvent.cpp diff --git a/src/app/inc/FApp_AppLifecycleEvent.cpp b/src/app/inc/FApp_AppLifecycleEvent.cpp deleted file mode 100755 index 175adbc..0000000 --- a/src/app/inc/FApp_AppLifecycleEvent.cpp +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright (c) 2012 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. -// - -/** - * @file FApp_AppLifecycleEvent.cpp - * @brief This is the implementation for the _AppLifecycleEvent.cpp class. - */ - -#include - -#include "FApp_Types.h" -#include "FApp_AppLifecycleEvent.h" -#include "FApp_AppLifecycleEventArg.h" -#include "FApp_IAppLifecycleEventListener.h" - -using namespace Tizen::Base; -using namespace Tizen::Base::Runtime; - - -namespace Tizen { namespace App -{ - -_AppLifecycleEventArg::_AppLifecycleEventArg(void) -{ -} - -_AppLifecycleEventArg::_AppLifecycleEventArg(const AppId& appId, _AppLifecycleEventType appLifecycleEventType) - : __appId(appId) - , __appLifecycleEventType(appLifecycleEventType) -{ -} - -_AppLifecycleEventArg::~_AppLifecycleEventArg(void) -{ -} - -const AppId -_AppLifecycleEventArg::GetAppId(void) const -{ - return __appId; -} - -_AppLifecycleEventType -_AppLifecycleEventArg::GetAppLifecycleEventType(void) const -{ - return __appLifecycleEventType; -} - -/////////////////////////////////////////////////////// -//_AppLifecycleEvent -/////////////////////////////////////////////////////// -result -_AppLifecycleEvent::Construct(void) -{ - return _Event::Initialize(); -} - -void -_AppLifecycleEvent::FireImpl(IEventListener& listener, const IEventArg& arg) -{ - _IAppLifecycleEventListener* pListener = dynamic_cast<_IAppLifecycleEventListener*>(&listener); - SysTryReturnVoidResult(NID_APP, pListener != null, E_INVALID_STATE, "Invalid listener : listener(0x%x), arg(0x%x)", &listener, &arg); - - const _AppLifecycleEventArg* pEventArg = dynamic_cast(&arg); - SysTryReturnVoidResult(NID_APP, pEventArg != null, E_INVALID_STATE, "Invalid arg : listener(0x%x), arg(0x%x)", &listener, &arg); - - pListener->OnAppLifecycleEventReceived(pEventArg->GetAppId(), pEventArg->GetAppLifecycleEventType()); -} - -} } // Tizen::App - -- 2.7.4