export _AppControlImpl::FindAndStart()
[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 \r
31 namespace Tizen { namespace App\r
32 {\r
33 \r
34 /**\r
35  * @class               _AppLifecycleEventArg\r
36  * @brief\r
37  * @since 2.2\r
38  *\r
39  */\r
40 class _OSP_EXPORT_ _AppLifecycleEventArg\r
41         : public Tizen::Base::Object\r
42         , public Tizen::Base::Runtime::IEventArg\r
43 {\r
44 public:\r
45         _AppLifecycleEventArg(void);\r
46         _AppLifecycleEventArg(const AppId& appId, _AppLifecycleEventType appType);\r
47         virtual ~_AppLifecycleEventArg(void);\r
48 \r
49         const AppId GetAppId(void) const;\r
50         _AppLifecycleEventType GetAppLifecycleEventType(void) const;\r
51 \r
52 private:\r
53         AppId __appId;\r
54         _AppLifecycleEventType __appLifecycleEventType;\r
55 \r
56 };      //_AppLifecycleEventArg\r
57 \r
58 } } // Tizen::App\r
59 \r
60 #endif // _FAPP_INTERNAL_APP_LIFECYCLE_EVENT_ARG_H_\r
61 \r