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.
51 * The %_AppControlProviderManagerImpl class manages all the application controls.
53 class _AppControlProviderManagerImpl
54 : public Tizen::Base::Object
58 result SetAppControlProviderEventListener(IAppControlProviderEventListener* pListener);
60 result SendAppControlResult(RequestId reqId, const Tizen::Base::Collection::IList* pResultList);
62 result SendAppControlResult(RequestId reqId, AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pResultMap);
64 AppId GetClientAppId(RequestId reqId) const;
67 * Internal GetImpl() method.
69 static const _AppControlProviderManagerImpl* GetInstance(const AppControlProviderManager& ac);
72 * Internal GetImpl() method.
74 static _AppControlProviderManagerImpl* GetInstance(AppControlProviderManager& ac);
78 * This is the default constructor for this class.
80 _AppControlProviderManagerImpl(void);
83 * This is the destructor for this class.
85 virtual ~_AppControlProviderManagerImpl(void);
88 * This is the default copy constructor for this class.
90 _AppControlProviderManagerImpl(const _AppControlProviderManagerImpl& rhs);
93 * This is the assignment operator for this class.
95 _AppControlProviderManagerImpl& operator =(const _AppControlProviderManagerImpl& rhs);
97 friend class AppControlProviderManager;
102 #endif // _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_