Add privilege check code.
[platform/framework/native/appfw.git] / src / server / inc / FApp_AppManagerEventArg.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_AppManagerEventArg.h
19  * @brief       This is the header file of _AppManagerEventArg class.
20  */
21
22 #ifndef _FAPP_INTERNAL_APP_MANAGER_EVENT_ARG_H_
23 #define _FAPP_INTERNAL_APP_MANAGER_EVENT_ARG_H_
24
25 #include <FBaseObject.h>
26 #include <FOspConfig.h>
27 #include <FAppTypes.h>
28 #include <FBaseRtIEventArg.h>
29
30 #include "FApp_AppManagerEvent.h"
31
32 namespace Tizen { namespace App
33 {
34
35 /**
36  * @class               _AppManagerEventArg
37  * @brief
38  * @since 2.1
39  *
40  */
41 class _OSP_EXPORT_ _AppManagerEventArg
42         : public Tizen::Base::Object
43         , public Tizen::Base::Runtime::IEventArg
44 {
45 public:
46         _AppManagerEventArg(void);
47         _AppManagerEventArg(const _AppManagerEventArg& value);
48         _AppManagerEventArg(const AppId& appId, _AppType appType, _AppManagerEvent::_Type eventType);
49         virtual ~_AppManagerEventArg(void);
50
51         const AppId GetAppId(void) const;
52         _AppType GetAppType(void) const;
53         _AppManagerEvent::_Type GetEventType(void) const;
54
55         _AppManagerEventArg& operator =(const _AppManagerEventArg& source);
56
57 private:
58         AppId __appId;
59         _AppType __appType;
60         _AppManagerEvent::_Type __eventType;
61
62 };      //_AppManagerEventArg
63
64 } } // Tizen::App
65
66 #endif // _FAPP_INTERNAL_APP_MANAGER_EVENT_ARG_H_