2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FApp_AppControlProviderManagerImpl.h
19 * @brief This is the header file for the %_AppControlProviderManagerImpl class.
21 * This header file contains the declarations of the %_AppControlProviderManagerImpl class.
24 #ifndef _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_
25 #define _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_
27 #include <FOspConfig.h>
28 #include <FBaseObject.h>
29 #include <FBaseDataType.h>
30 #include <FBaseColIListT.h>
32 namespace Tizen { namespace Base
38 namespace Tizen { namespace Base { namespace Collection { class IList; } } }
40 namespace Tizen { namespace App
43 class AppControlProviderManager;
44 class IAppControlProviderEventListener;
47 * @class _AppControlProviderManagerImpl
48 * @brief This class manages all the application controls.
50 * The %_AppControlProviderManagerImpl class manages all the application controls.
52 class _AppControlProviderManagerImpl
53 : public Tizen::Base::Object
57 result SetAppControlProviderEventListener(IAppControlProviderEventListener* pListener);
59 result SendAppControlResult(RequestId reqId, const Tizen::Base::Collection::IList* pResultList);
61 result SendAppControlResult(RequestId reqId, AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pResultMap);
63 AppId GetClientAppId(RequestId reqId) const;
66 * Internal GetImpl() method.
68 static const _AppControlProviderManagerImpl* GetInstance(const AppControlProviderManager& ac);
71 * Internal GetImpl() method.
73 static _AppControlProviderManagerImpl* GetInstance(AppControlProviderManager& ac);
77 * This is the default constructor for this class.
79 _AppControlProviderManagerImpl(void);
82 * This is the destructor for this class.
84 virtual ~_AppControlProviderManagerImpl(void);
87 * This is the default copy constructor for this class.
89 _AppControlProviderManagerImpl(const _AppControlProviderManagerImpl& rhs);
92 * This is the assignment operator for this class.
94 _AppControlProviderManagerImpl& operator =(const _AppControlProviderManagerImpl& rhs);
96 friend class AppControlProviderManager;
101 #endif // _FAPP_INTERNAL_APPCONTROL_PROVIDER_MANAGER_IMPL_H_