2 * Copyright (c) 2014 - 2015 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_EFL_H__
19 #define __SCL_CORE_UI_EFL_H__
21 #include "sclcoreui.h"
26 #include "legacy_support/websocket.h"
38 class CSCLCoreUIEFL : public CSCLCoreUI
44 int create(void *data);
45 int terminate(void *data);
47 virtual sclboolean init();
50 virtual void run(const sclchar *display);
51 virtual sclwindow get_main_window();
52 virtual void set_keyboard_size_hints(SclSize portrait, SclSize landscape);
53 virtual int get_screen_rotation_degree();
55 virtual sclwindow create_option_window(SCLOptionWindowType type);
56 virtual bool show_option_window(SCLOptionWindowType type);
57 virtual void destroy_option_window(sclwindow window);
59 void set_screen_rotation_degree(int degree);
61 void process_keyboard_ui_state_change(KEYBOARD_UI_STATE state);
63 void set_floating_mode(sclboolean floating_mode);
65 sclboolean m_initialized;
67 sclint m_rotation_degree;
68 sclwindow m_main_window;
69 const sclchar *m_appid;
70 const sclchar *m_display;
72 OptionWindowInfo m_option_window_info[OPTION_WINDOW_TYPE_MAX];
79 #endif //__SCL_CORE_UI_EFL_H__