1 /* 2 Copyright (C) 2010 ProFUSION embedded systems 3 Copyright (C) 2010 Samsung Electronics 4 5 This library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Library General Public 7 License as published by the Free Software Foundation; either 8 version 2 of the License, or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Library General Public License for more details. 14 15 You should have received a copy of the GNU Library General Public License 16 along with this library; see the file COPYING.LIB. If not, write to 17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301, USA. 19 */ 20 21 /** 22 * @file ewk_window_features.h 23 * @brief Access to the features of window. 24 */ 25 26 #ifndef ewk_window_features_h 27 #define ewk_window_features_h 28 29 #include "ewk_eapi.h" 30 31 #include <Eina.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 /** Creates a type name for _Ewk_Window_Features. */ 38 typedef struct _Ewk_Window_Features Ewk_Window_Features; 39 40 EAPI void ewk_window_features_unref(Ewk_Window_Features* window_features); 41 EAPI void ewk_window_features_ref(Ewk_Window_Features* window_features); 42 43 EAPI void ewk_window_features_bool_property_get(Ewk_Window_Features* window_features, Eina_Bool* toolbar_visible, Eina_Bool* statusbar_visible, Eina_Bool* scrollbars_visible, Eina_Bool* menubar_visible, Eina_Bool* locationbar_visible, Eina_Bool* fullscreen); 44 EAPI void ewk_window_features_int_property_get(Ewk_Window_Features* window_features, int* x, int* y, int* w, int* h); 45 46 #ifdef __cplusplus 47 } 48 #endif 49 #endif // ewk_window_features_h 50