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_InputServiceSignalListener.h
\r
20 * @brief This is the header file for the %_InputServiceSignalListener class.
\r
22 * This header file contains the declarations of the %_InputServiceSignalListener class.
\r
25 #ifndef _FUI_IME_INPUT_SERVICE_SIGNAL_LISTENER_H_
\r
26 #define _FUI_IME_INPUT_SERVICE_SIGNAL_LISTENER_H_
\r
28 #define Uses_SCIM_HELPER
\r
29 #define Uses_SCIM_TYPES
\r
34 #include <FUiImeIInputMethodListener.h>
\r
35 #include <FUiImeIInputMethodProvider.h>
\r
36 #include <FUiImeIInputMethodProviderF.h>
\r
38 namespace Tizen { namespace Ui { namespace Ime {
\r
41 * @class _InputServiceSignalListener
\r
42 * @brief This class is a concrete class of the %_InputServiceSignalListener class.
\r
46 class _InputServiceSignalListener
\r
49 static void SetInputMethodProvider(IInputMethodProvider* pProvider);
\r
50 static void SetInputMethodProviderF(IInputMethodProviderF* pProvider);
\r
51 static void SetInputMethodListener(IInputMethodListener* pListener);
\r
53 static void GetEnterKeyAction(const scim::HelperAgent* pHelperAgent, scim::uint32& action);
\r
54 static void GetInputPanelBounds(const scim::HelperAgent* pHelperAgent, scim::rectinfo& bounds);
\r
55 static void GetInputPanelStyle(const scim::HelperAgent* pHelperAgent, scim::uint32& style);
\r
56 static void GetLanguage(const scim::HelperAgent* pHelperAgent, int inputContext, char** pLocale);
\r
58 static void SetCapsModeEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& mode);
\r
59 static void SetEnterKeyAction(const scim::HelperAgent* pHelperAgent, scim::uint32& action);
\r
60 static void SetEnterKeyActionEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& disable);
\r
61 static void SetInputPanelStyle(const scim::HelperAgent* pHelperAgent, scim::uint32& style);
\r
62 static void SetLanguage(const scim::HelperAgent* pHelperAgent, scim::uint32& language);
\r
64 static void HideInputPanel(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid);
\r
65 static void IsEnterKeyActionEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& enable);
\r
66 static void ShowInputPanel(const scim::HelperAgent* pHelperAgent, int inputContext, char* pBuffer, size_t& length);
\r
68 static void OnCursorPositionChanged(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid,
\r
70 static void OnOpaqueCommandReceived(const scim::HelperAgent* pHelperAgent, char* pBuffer, size_t& length);
\r
71 static void OnSurroundingTextReceived(const scim::HelperAgent* pHelperAgent, int inputContext,
\r
72 const scim::String& text, int cursorPosition);
\r
73 static void OnTerminate(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid);
\r
76 _InputServiceSignalListener();
\r
77 ~_InputServiceSignalListener();
\r
79 _InputServiceSignalListener(const _InputServiceSignalListener& rhs);
\r
80 _InputServiceSignalListener& operator=(const _InputServiceSignalListener& rhs);
\r
83 static IInputMethodProvider* __pIInputMethodProvider;
\r
84 static IInputMethodProviderF* __pIInputMethodProviderF;
\r
85 static IInputMethodListener* __pIInputMethodListener;
\r
88 }}} // Tizen::Ui::Ime
\r
90 #endif // _FUI_IME_INPUT_SERVICE_SIGNAL_LISTENER_H_
\r