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/>
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
27 #include <e-util/e-activity.h>
31 EActivity
* e_file_replace_contents_async (GFile
*file
,
32 const gchar
*contents
,
36 GFileCreateFlags flags
,
37 GAsyncReadyCallback callback
,
39 gboolean
e_file_replace_contents_finish (GFile
*file
,
46 #endif /* E_FILE_UTILS_H */