Merge "Add a _LocalizedNumParser class and 4 static functions" into tizen_2.1
[platform/framework/native/appfw.git] / src / app / FApp_ConditionManagerProxy.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
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.
15 //
16
17 /**
18  * @file        FApp_ConditionManagerProxy.h
19  * @brief       This is the header file of the _ConditionManagerProxy class.
20  */
21
22 #ifndef _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_
23 #define _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_
24
25 #include <FBaseObject.h>
26 #include <FBaseString.h>
27 #include <FAppTypes.h>
28 #include <FAppAppManager.h>
29
30 #include "FApp_Types.h"
31
32 namespace Tizen { namespace Io { class _IpcClient; } }
33
34 namespace Tizen { namespace App
35 {
36
37 /**
38  * @class        _ConditionManagerProxy
39  * @brief
40  * @since 2.1
41  */
42 class _ConditionManagerProxy
43 {
44 public:
45         _ConditionManagerProxy(void);
46
47         ~_ConditionManagerProxy(void);
48
49         result Construct(void);
50
51         result RegisterAppLaunch(const AppId& appId, const Tizen::Base::String& condition, const Tizen::Base::Collection::IList* pArguments, AppManager::LaunchOption option);
52
53         result UnregisterAppLaunch(const AppId& appId, const Tizen::Base::String* pCondition);
54
55         bool IsAppLaunchRegistered(const AppId& appId, const Tizen::Base::String* pCondition = null) const;
56
57 private:
58         _ConditionManagerProxy(const _ConditionManagerProxy& rhs);
59
60         _ConditionManagerProxy& operator =(const _ConditionManagerProxy& rhs);
61
62 private:
63         Tizen::Io::_IpcClient* __pIpcClient;
64
65 }; // _ConditionManagerProxy
66
67 } } // Tizen::App
68
69 #endif // _FAPP_INTERNAL_CONDITION_MANAGER_PROXY_H_