2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FApp_IAppManagerServiceEventListener.h
20 * @brief This is the header file for the _IAppManagerServiceEventListener class.
23 #ifndef _FAPP_INTERNAL_IAPP_MANAGER_SERVICE_EVENT_LISTENER_H_
24 #define _FAPP_INTERNAL_IAPP_MANAGER_SERVICE_EVENT_LISTENER_H_
26 #include <FBaseResult.h>
27 #include <FBaseRtIEventListener.h>
29 namespace Tizen { namespace App
32 class _AppManagerEventArg;
35 * @interface _IAppManagerServiceEventListener
36 * @brief This interface defines the listener for the event from _AppManangerService
39 * Purpose of this interface is letting _AppManagerService and _AppManagerProxy implements this
40 * interface so they can notify to their paired client _AppManagerStub and _AppManagerImpl.
41 * Application should not implement this interface.
43 class _IAppManagerServiceEventListener
44 : virtual public Tizen::Base::Runtime::IEventListener
47 virtual result OnServiceEventReceived(int clientId, const _AppManagerEventArg& arg) = 0;
48 virtual result OnTerminateApplicationRequested(int clientId) = 0;
49 }; // _IAppManagerServiceEventListener
53 #endif // _FAPP_INTERNAL_IAPP_MANAGER_SERVICE_EVENT_LISTENER_H_