2 // Open Service Platform
\r
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
\r
5 // Licensed under the Apache License, Version 2.0 (the License);
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://www.apache.org/licenses/LICENSE-2.0
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an "AS IS" BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
19 * @file FUiIme_InputServiceBinder.h
\r
20 * @brief This is the header file for the %_InputServiceBinder class.
\r
22 * This header file contains the declarations of the %_InputServiceBinder class.
\r
25 #ifndef _FUI_IME_INTERNAL_INPUT_SERVICE_BINDER_H_
\r
26 #define _FUI_IME_INTERNAL_INPUT_SERVICE_BINDER_H_
\r
28 #define Uses_SCIM_HELPER
\r
29 #define Uses_SCIM_TYPES
\r
34 #include <FBaseDataType.h>
\r
35 #include <FBaseObject.h>
\r
37 namespace Tizen { namespace Ui { namespace Ime {
\r
40 * ID of a binding with the input service
\r
44 typedef int BindingId;
\r
47 * @class _InputServiceBinder
\r
48 * @brief This class is a concrete class of the %_InputServiceBinder class.
\r
52 class _InputServiceBinder
\r
53 : public Tizen::Base::Object
\r
56 static _InputServiceBinder* GetInstance(void);
\r
58 scim::HelperAgent* GetHelperAgent(void) const;
\r
60 BindingId Bind(void);
\r
61 result Unbind(void);
\r
62 bool IsBound(void) const;
\r
63 BindingId GetBindingId(void) const;
\r
66 _InputServiceBinder(void);
\r
67 virtual ~_InputServiceBinder(void);
\r
69 _InputServiceBinder(const _InputServiceBinder& rhs);
\r
70 _InputServiceBinder& operator=(const _InputServiceBinder& rhs);
\r
72 result Construct(void);
\r
75 static _InputServiceBinder* __pInputServiceBinder;
\r
77 scim::HelperAgent* __pHelperAgent;
\r
80 }}} // Tizen::Ui::Ime
\r
82 #endif // _FUI_IME_INTERNAL_INPUT_SERVICE_BINDER_H_
\r