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_ConditionManagerProxy.h
20 * @brief This is the header file of the _ConditionManagerProxy class.
23 #ifndef _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_
24 #define _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_
26 #include <FBaseObject.h>
27 #include <FBaseString.h>
28 #include <FAppTypes.h>
29 #include <FAppAppManager.h>
31 #include "FApp_Types.h"
33 namespace Tizen { namespace Io { class _IpcClient; } }
35 namespace Tizen { namespace App
39 * @class _ConditionManagerProxy
43 class _ConditionManagerProxy
46 _ConditionManagerProxy(void);
48 ~_ConditionManagerProxy(void);
50 result Construct(void);
52 result RegisterAppLaunch(const AppId& appId, const Tizen::Base::String& condition, const Tizen::Base::Collection::IList* pArguments, AppManager::LaunchOption option);
54 result UnregisterAppLaunch(const AppId& appId, const Tizen::Base::String* pCondition);
56 bool IsAppLaunchRegistered(const AppId& appId, const Tizen::Base::String* pCondition = null) const;
59 _ConditionManagerProxy(const _ConditionManagerProxy& rhs);
61 _ConditionManagerProxy& operator =(const _ConditionManagerProxy& rhs);
64 Tizen::Io::_IpcClient* __pIpcClient;
66 }; // _ConditionManagerProxy
70 #endif // _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_