"Fossies" - the Fresh Open Source Software Archive 
Member "evolution-mapi-3.46.1/src/configuration/e-mapi-config-utils.h" (2 Dec 2022, 2541 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "e-mapi-config-utils.h" see the
Fossies "Dox" file reference documentation.
1 /*
2 * e-mapi-config-utils.h
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 *
17 */
18
19 #ifndef E_MAPI_CONFIG_UTILS_H
20 #define E_MAPI_CONFIG_UTILS_H
21
22 #include <gtk/gtk.h>
23
24 #include <shell/e-shell-view.h>
25
26 #include "e-mapi-connection.h"
27 #include "camel-mapi-settings.h"
28
29 typedef void (* EMapiSetupFunc) (GObject *with_object,
30 gpointer user_data,
31 GCancellable *cancellable,
32 GError **perror);
33
34 void e_mapi_config_utils_run_in_thread_with_feedback (GtkWindow *parent,
35 GObject *with_object,
36 const gchar *description,
37 EMapiSetupFunc thread_func,
38 EMapiSetupFunc idle_func,
39 gpointer user_data,
40 GDestroyNotify free_user_data);
41
42 void e_mapi_config_utils_run_in_thread_with_feedback_modal (GtkWindow *parent,
43 GObject *with_object,
44 const gchar *description,
45 EMapiSetupFunc thread_func,
46 EMapiSetupFunc idle_func,
47 gpointer user_data,
48 GDestroyNotify free_user_data);
49
50 EMapiConnection * e_mapi_config_utils_open_connection_for (GtkWindow *parent,
51 ESourceRegistry *registry,
52 ESource *source,
53 CamelMapiSettings *mapi_settings,
54 GCancellable *cancellable,
55 GError **perror);
56
57 void e_mapi_config_utils_run_folder_size_dialog (ESourceRegistry *registry,
58 ESource *source,
59 CamelMapiSettings *mapi_settings);
60
61 void e_mapi_config_utils_init_ui (EShellView *shell_view,
62 const gchar *ui_manager_id,
63 gchar **ui_definition);
64
65 gboolean e_mapi_config_utils_is_online (void);
66
67 GtkWindow * e_mapi_config_utils_get_widget_toplevel_window (GtkWidget *widget);
68
69 void e_mapi_config_utils_insert_widgets (ESourceConfigBackend *backend,
70 ESource *scratch_source);
71 gboolean e_mapi_config_utils_check_complete (ESource *scratch_source);
72
73 #endif /* E_MAPI_CONFIG_UTILS */