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 <FBaseObject.h>
\r
35 #include <FUiImeIInputMethodListener.h>
\r
36 #include <FUiImeIInputMethodProvider.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
47 : public Tizen::Base::Object
\r
50 _InputServiceSignalListener();
\r
51 virtual ~_InputServiceSignalListener();
\r
53 void SetInputMethodProvider(IInputMethodProvider* pProvider);
\r
54 void SetInputMethodListener(IInputMethodListener* pListener);
\r
56 static void GetEnterKeyAction(const scim::HelperAgent* pHelperAgent, scim::uint32& action);
\r
57 static void GetInputPanelBounds(const scim::HelperAgent* pHelperAgent, scim::rectinfo& bounds);
\r
58 static void GetInputPanelStyle(const scim::HelperAgent* pHelperAgent, scim::uint32& style);
\r
60 static void SetCapsModeEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& mode);
\r
61 static void SetEnterKeyAction(const scim::HelperAgent* pHelperAgent, scim::uint32& action);
\r
62 static void SetEnterKeyActionEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& disable);
\r
63 static void SetInputPanelStyle(const scim::HelperAgent* pHelperAgent, scim::uint32& style);
\r
64 static void SetLanguage(const scim::HelperAgent* pHelperAgent, scim::uint32& language);
\r
66 static void HideInputPanel(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid);
\r
67 static void IsEnterKeyActionEnabled(const scim::HelperAgent* pHelperAgent, scim::uint32& enable);
\r
68 static void ShowInputPanel(const scim::HelperAgent* pHelperAgent, int inputContext, char* pBuffer, size_t& length);
\r
70 static void OnCursorPositionChanged(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid,
\r
72 static void OnSurroundingTextReceived(const scim::HelperAgent* pHelperAgent, int inputContext,
\r
73 const scim::String& text, int cursorPosition);
\r
74 static void OnTerminate(const scim::HelperAgent* pHelperAgent, int inputContext, const scim::String& uuid);
\r
77 _InputServiceSignalListener(const _InputServiceSignalListener& rhs);
\r
78 _InputServiceSignalListener& operator=(const _InputServiceSignalListener& rhs);
\r
81 static IInputMethodProvider* __pIInputMethodProvider;
\r
82 static IInputMethodListener* __pIInputMethodListener;
\r
85 }}} // Tizen::Ui::Ime
\r
87 #endif // _FUI_IME_INPUT_SERVICE_SIGNAL_LISTENER_H_
\r