[EFL] Add ewk_network.cpp|h files.
[WebKit-https.git] / Source / WebKit / efl / ewk / ewk_settings.h
1 /*
2     Copyright (C) 2009-2010 ProFUSION embedded systems
3     Copyright (C) 2009-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 #ifndef ewk_settings_h
22 #define ewk_settings_h
23
24 #include <Eina.h>
25 #include <Evas.h>
26 #include <cairo.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 /**
33  * @file ewk_settings.h
34  *
35  * @brief General purpose settings, not tied to any view object.
36  */
37
38 EAPI uint64_t         ewk_settings_web_database_default_quota_get(void);
39 EAPI void             ewk_settings_web_database_path_set(const char *path);
40 EAPI const char      *ewk_settings_web_database_path_get(void);
41
42 EAPI Eina_Bool        ewk_settings_icon_database_path_set(const char *path);
43 EAPI const char      *ewk_settings_icon_database_path_get(void);
44 EAPI Eina_Bool        ewk_settings_icon_database_clear(void);
45
46 EAPI cairo_surface_t *ewk_settings_icon_database_icon_surface_get(const char *url);
47 EAPI Evas_Object     *ewk_settings_icon_database_icon_object_add(const char *url, Evas *canvas);
48
49 EAPI Eina_Bool        ewk_settings_cache_directory_path_set(const char *path);
50 EAPI const char      *ewk_settings_cache_directory_path_get(void);
51
52 EAPI Eina_Bool        ewk_settings_cache_enable_get(void);
53 EAPI void             ewk_settings_cache_enable_set(Eina_Bool set);
54 EAPI void             ewk_settings_cache_capacity_set(unsigned capacity);
55
56 EAPI void             ewk_settings_repaint_throttling_set(double deferred_repaint_delay, double initial_deferred_repaint_delay_during_loading, double max_deferred_repaint_delay_during_loading, double deferred_repaint_delay_increment_during_loading);
57
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif // ewk_settings_h