Fix SettingClient to get instance.
[platform/framework/native/appfw.git] / src / app / inc / FApp_AppLifecycleEventArg.h
1 //\r
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
3 //\r
4 // Licensed under the Apache License, Version 2.0 (the License);\r
5 // you may not use this file except in compliance with the License.\r
6 // You may obtain a copy of the License at\r
7 //\r
8 //     http://www.apache.org/licenses/LICENSE-2.0\r
9 //\r
10 // Unless required by applicable law or agreed to in writing, software\r
11 // distributed under the License is distributed on an "AS IS" BASIS,\r
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 // See the License for the specific language governing permissions and\r
14 // limitations under the License.\r
15 //\r
16 \r
17 /**\r
18  * @file        FApp_AppLifecycleEventArg.h\r
19  * @brief       This is the header file of _AppLifecycleEventArg class.\r
20  */\r
21 \r
22 #ifndef _FAPP_INTERNAL_APP_LIFECYCLE_EVENT_ARG_H_\r
23 #define _FAPP_INTERNAL_APP_LIFECYCLE_EVENT_ARG_H_\r
24 \r
25 #include <FBaseObject.h>\r
26 #include <FAppTypes.h>\r
27 #include <FApp_Types.h>\r
28 #include <FBaseRtIEventArg.h>\r
29 \r
30 #include "FApp_AppManagerEvent.h"\r
31 \r
32 namespace Tizen { namespace App\r
33 {\r
34 \r
35 /**\r
36  * @class               _AppLifecycleEventArg\r
37  * @brief\r
38  * @since 2.2\r
39  *\r
40  */\r
41 class _OSP_EXPORT_ _AppLifecycleEventArg\r
42         : public Tizen::Base::Object\r
43         , public Tizen::Base::Runtime::IEventArg\r
44 {\r
45 public:\r
46         _AppLifecycleEventArg(void);\r
47         _AppLifecycleEventArg(const AppId& appId, _AppLifecycleEventType appType);\r
48         virtual ~_AppLifecycleEventArg(void);\r
49 \r
50         const AppId GetAppId(void) const;\r
51         _AppLifecycleEventType GetAppLifecycleEventType(void) const;\r
52 \r
53 private:\r
54         AppId __appId;\r
55         _AppLifecycleEventType __appLifecycleEventType;\r
56 \r
57 };      //_AppLifecycleEventArg\r
58 \r
59 } } // Tizen::App\r
60 \r
61 #endif // _FAPP_INTERNAL_APP_LIFECYCLE_EVENT_ARG_H_\r
62 \r