Merge "[devel_3.0_main] Cherry-pick Beautification of source-code. 80383" into devel_...
[platform/framework/native/appfw.git] / src / app / inc / FApp_IAppControlSysEventListener.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file        FApp_IAppControlSysEventListener.h
19  * @brief       This is the header file of the _IAppControlSysEventListener class.
20  */
21
22 #ifndef _FAPP_INTERNAL_IAPP_CONTROL_SYS_EVENT_LISTENER_H_
23 #define _FAPP_INTERNAL_IAPP_CONTROL_SYS_EVENT_LISTENER_H_
24
25 #include <FOspConfig.h>
26 #include <FAppTypes.h>
27 #include <FBaseRtIEventListener.h>
28
29 namespace Tizen { namespace Base { namespace Collection { class IMap; } } }
30
31 namespace Tizen { namespace App
32 {
33
34 class _AppArg;
35
36 /**
37  * @class        _IAppControlSysEventListener
38  * @brief
39  * @since 2.1
40  */
41 class _IAppControlSysEventListener
42         : virtual public Tizen::Base::Runtime::IEventListener
43 {
44 public:
45         virtual ~_IAppControlSysEventListener(void) {}
46
47         virtual void OnAppControlEventReceivedN(int reqId, _AppArg* pArg, int res) = 0;
48
49         virtual void OnAppControlEventReceivedN(int reqId, int res, const Tizen::Base::Collection::IMap* pArgs, int prop) = 0;
50
51         virtual void OnAppControlEventReceivedN(int reqId, const AppId& appId, const Tizen::Base::String& operationId) = 0;
52 }; // _IAppControlSysEventListener
53
54 } } // Tizen::App
55
56 #endif //_FAPP_INTERNAL_IAPP_CONTROL_SYS_EVENT_LISTENER_H_