2 * Copyright (c) 2012 - 2014 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #ifndef __SCL_CORE_UI_H__
19 #define __SCL_CORE_UI_H__
25 #include "sclcorecallback.h"
31 * @brief The base class that provides features for a soft-keyboard
33 * This class implements all functions for working as a soft-based keyboard
39 virtual ~CSCLCoreUI();
41 std::string get_backend_indentifier();
43 virtual sclboolean init();
46 virtual void run(const sclchar *display);
49 * @brief This API returns the pointer to main keyboard window
51 virtual sclwindow get_main_window();
54 * @brief This API returns the rotation angle of the current screen
56 virtual int get_screen_rotation_degree();
59 * @brief This API updates the keyboard window's geometry information
61 virtual void set_keyboard_size_hints(SclSize portrait, SclSize landscape);
64 * @brief Requests to create an option window
66 virtual sclwindow create_option_window(SCLOptionWindowType type);
69 * @brief Requests to destroy an option window
71 virtual void destroy_option_window(sclwindow window);
74 std::string m_backend_identifier;
84 #endif //__SCL_CORE_UI_H__