1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 
3 /* fm-error-reporting.h - interface for file manager functions that report
4  			  errors to the user.
5 
6    Copyright (C) 2000 Eazel, Inc.
7 
8    The Gnome Library is free software; you can redistribute it and/or
9    modify it under the terms of the GNU Library General Public License as
10    published by the Free Software Foundation; either version 2 of the
11    License, or (at your option) any later version.
12 
13    The Gnome Library is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    Library General Public License for more details.
17 
18    You should have received a copy of the GNU Library General Public
19    License along with the Gnome Library; see the file COPYING.LIB.  If not,
20    write to the Free Software Foundation, Inc., 51 Franklin Street - Suite 500,
21    Boston, MA 02110-1335, USA.
22 
23    Authors: John Sullivan <sullivan@eazel.com>
24 */
25 
26 #ifndef NEMO_ERROR_REPORTING_H
27 #define NEMO_ERROR_REPORTING_H
28 
29 #include <gtk/gtk.h>
30 #include <libnemo-private/nemo-file.h>
31 
32 void nemo_report_error_loading_directory	 (NemoFile   *file,
33 						  GError         *error,
34 						  GtkWindow	 *parent_window);
35 void nemo_report_error_renaming_file         (NemoFile *file,
36 						  const char *new_name,
37 						  GError *error,
38 						  GtkWindow *parent_window);
39 void nemo_report_error_setting_permissions (NemoFile   *file,
40 						GError         *error,
41 						GtkWindow	 *parent_window);
42 void nemo_report_error_setting_owner       (NemoFile   *file,
43 						GError         *error,
44 						GtkWindow	 *parent_window);
45 void nemo_report_error_setting_group       (NemoFile   *file,
46 						GError         *error,
47 						GtkWindow	 *parent_window);
48 
49 /* FIXME bugzilla.gnome.org 42394: Should this file be renamed or should this function be moved? */
50 void nemo_rename_file                      (NemoFile   *file,
51 						const char     *new_name,
52 						NemoFileOperationCallback callback,
53 						gpointer callback_data);
54 
55 #endif /* NEMO_ERROR_REPORTING_H */
56