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_AppControlEventArg.h
20 * @brief This is the header file of _AppControlEventArg class.
23 #ifndef _FAPP_INTERNAL_APP_CONTROL_EVENT_ARG_H_
24 #define _FAPP_INTERNAL_APP_CONTROL_EVENT_ARG_H_
26 #include <FBaseObject.h>
27 #include <FOspConfig.h>
28 #include <FAppTypes.h>
29 #include <FBaseRtIEventArg.h>
31 namespace Tizen { namespace Base { namespace Collection {
36 namespace Tizen { namespace App
42 * @class _AppControlEventArg
45 class _AppControlEventArg
46 : public Tizen::Base::Object
47 , public Tizen::Base::Runtime::IEventArg
50 _AppControlEventArg(int reqId, _AppArg* p, int res)
57 virtual ~_AppControlEventArg(void);
59 int GetRequestId(void) const
64 _AppArg* GetAppArg(void) const
69 int GetResult(void) const
75 _AppControlEventArg(const _AppControlEventArg& rhs);
77 _AppControlEventArg& operator =(const _AppControlEventArg& rhs);
83 }; // _AppControlEventArg
86 * @class _NativeAppControlEventArg
89 class _NativeAppControlEventArg
90 : public Tizen::Base::Object
91 , public Tizen::Base::Runtime::IEventArg
94 _NativeAppControlEventArg(int reqId, int res, const Tizen::Base::Collection::IMap* pArgs);
96 virtual ~_NativeAppControlEventArg(void);
98 int GetRequestId(void) const
103 int GetResult(void) const
108 const Tizen::Base::Collection::IMap* GetArgs(void) const
116 Tizen::Base::Collection::IMap* __pArgs;
117 }; // _NativeAppControlEventArg
120 * @class _AppControlStartEventArg
123 class _AppControlStartEventArg
124 : public Tizen::Base::Object
125 , public Tizen::Base::Runtime::IEventArg
128 _AppControlStartEventArg(int reqId, const AppId& appId, const Tizen::Base::String& operationId)
131 , __operationId(operationId)
135 virtual ~_AppControlStartEventArg(void)
139 int GetRequestId(void) const
144 AppId GetAppId(void) const
149 Tizen::Base::String GetOperationId(void) const
151 return __operationId;
155 _AppControlStartEventArg(const _AppControlStartEventArg& rhs);
157 _AppControlStartEventArg& operator =(const _AppControlStartEventArg& rhs);
162 Tizen::Base::String __operationId;
163 }; // _AppControlStartEventArg
167 #endif // _FAPP_INTERNAL_APP_CONTROL_EVENT_ARG_H_