[l10n] Updated German help translation screen-shots
[evolution.git] / e-util / e-file-utils.h
blobe1e8b2987262cc5dd5eec3dfcb02d5bebefdce4d
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 * Authors:
17 * Michael Zucchi <notzed@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef E_FILE_UTILS_H
24 #define E_FILE_UTILS_H
26 #include <gio/gio.h>
27 #include <e-util/e-activity.h>
29 G_BEGIN_DECLS
31 EActivity * e_file_replace_contents_async (GFile *file,
32 const gchar *contents,
33 gsize length,
34 const gchar *etag,
35 gboolean make_backup,
36 GFileCreateFlags flags,
37 GAsyncReadyCallback callback,
38 gpointer user_data);
39 gboolean e_file_replace_contents_finish (GFile *file,
40 GAsyncResult *result,
41 gchar **new_etag,
42 GError **error);
44 G_END_DECLS
46 #endif /* E_FILE_UTILS_H */