Assamese translation updated
[platform/upstream/evolution-data-server.git] / libedataserverui / e-book-auth-util.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3 /* e-book-auth-util.h - Lame helper to load addressbooks with authentication.
4  *
5  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of version 2 of the GNU Lesser General Public
9  * License as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  */
22
23 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
24 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
25 #endif
26
27 #ifndef EDS_DISABLE_DEPRECATED
28
29 #ifndef E_BOOK_AUTH_UTIL_H
30 #define E_BOOK_AUTH_UTIL_H
31
32 #include <gtk/gtk.h>
33 #include <libebook/libebook.h>
34
35 G_BEGIN_DECLS
36
37 void            e_load_book_source_async        (ESource *source,
38                                                  GtkWindow *parent,
39                                                  GCancellable *cancellable,
40                                                  GAsyncReadyCallback callback,
41                                                  gpointer user_data);
42 EBook *         e_load_book_source_finish       (ESource *source,
43                                                  GAsyncResult *result,
44                                                  GError **error);
45 G_END_DECLS
46
47 #endif /* E_BOOK_AUTH_UTIL_H */
48
49 #endif /* EDS_DISABLE_DEPRECATED */