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_TargetWindowAgent.h
\r
20 * @brief This is the header file for the %_TargetWindowAgent class.
\r
22 * This header file contains the declarations of the %_TargetWindowAgent class.
\r
25 #ifndef _FUI_IME_INTERNAL_TARGET_WINDOW_AGENT_H_
\r
26 #define _FUI_IME_INTERNAL_TARGET_WINDOW_AGENT_H_
\r
28 #include <Ecore_X.h>
\r
30 #include <FBaseDataType.h>
\r
31 #include <FBaseObject.h>
\r
33 namespace Tizen { namespace Ui { namespace Ime {
\r
36 * @class _TargetWindowAgent
\r
37 * @brief This class is a concrete class of the %_TargetWindowAgent class.
\r
41 class _TargetWindowAgent
\r
42 : public Tizen::Base::Object
\r
45 static _TargetWindowAgent* GetInstance(void);
\r
47 result SetTargetWindow(Ecore_X_Window keyboardWindow);
\r
48 result UnsetTargetWindow(Ecore_X_Window keyboardWindow);
\r
50 int GetOrientation(void);
\r
51 result SetOrientation(int angle);
\r
53 bool IsActive(Ecore_X_Window keyboardWindow, Ecore_X_Window activeWindow);
\r
56 _TargetWindowAgent();
\r
57 virtual ~_TargetWindowAgent(void);
\r
59 _TargetWindowAgent(const _TargetWindowAgent& rhs);
\r
60 _TargetWindowAgent& operator=(const _TargetWindowAgent& rhs);
\r
63 static _TargetWindowAgent* __pTargetWindowAgent;
\r
65 Ecore_X_Window __keyboardWindow;
\r
68 }}} // Tizen::Ui::Ime
\r
70 #endif // _FUI_IME_INTERNAL_TARGET_WINDOW_AGENT_H_
\r