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_AppControlProviderManagerImpl.h
20 * @brief This is the header file for the %_AppControlProviderManagerImpl class.
22 * This header file contains the declarations of the %_AppControlProviderManagerImpl class.
25 #ifndef _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_
26 #define _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_
28 #include <FOspConfig.h>
29 #include <FBaseObject.h>
30 #include <FBaseDataType.h>
31 #include <FBaseColIListT.h>
33 namespace Tizen { namespace Base
39 namespace Tizen { namespace Base { namespace Collection { class IList; } } }
41 namespace Tizen { namespace App
44 class AppControlProviderManager;
45 class IAppControlProviderEventListener;
48 * @class _AppControlProviderManagerImpl
49 * @brief This class manages all the application controls.
52 * The %_AppControlProviderManagerImpl class manages all the application controls.
54 class _AppControlProviderManagerImpl
55 : public Tizen::Base::Object
59 result SetAppControlProviderEventListener(IAppControlProviderEventListener* pListener);
61 result SendAppControlResult(RequestId reqId, const Tizen::Base::Collection::IList* pResultList);
63 result SendAppControlResult(RequestId reqId, AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pResultMap);
65 AppId GetClientAppId(RequestId reqId) const;
68 * Internal GetImpl() method.
70 static const _AppControlProviderManagerImpl* GetInstance(const AppControlProviderManager& ac);
73 * Internal GetImpl() method.
75 static _AppControlProviderManagerImpl* GetInstance(AppControlProviderManager& ac);
79 * This is the default constructor for this class.
81 _AppControlProviderManagerImpl(void);
84 * This is the destructor for this class.
86 virtual ~_AppControlProviderManagerImpl(void);
89 * This is the default copy constructor for this class.
91 _AppControlProviderManagerImpl(const _AppControlProviderManagerImpl& rhs);
94 * This is the assignment operator for this class.
96 _AppControlProviderManagerImpl& operator =(const _AppControlProviderManagerImpl& rhs);
98 friend class AppControlProviderManager;
103 #endif // _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_