1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __FILE_COMMANDS_H__
19 #define __FILE_COMMANDS_H__
20 
21 
22 void   file_open_cmd_callback                 (GimpAction *action,
23                                                GVariant   *value,
24                                                gpointer    data);
25 void   file_open_as_layers_cmd_callback       (GimpAction *action,
26                                                GVariant   *value,
27                                                gpointer    data);
28 void   file_open_location_cmd_callback        (GimpAction *action,
29                                                GVariant   *value,
30                                                gpointer    data);
31 void   file_open_recent_cmd_callback          (GimpAction *action,
32                                                GVariant   *value,
33                                                gpointer    data);
34 
35 void   file_save_cmd_callback                 (GimpAction *action,
36                                                GVariant   *value,
37                                                gpointer    data);
38 void   file_create_template_cmd_callback      (GimpAction *action,
39                                                GVariant   *value,
40                                                gpointer    data);
41 
42 void   file_revert_cmd_callback               (GimpAction *action,
43                                                GVariant   *value,
44                                                gpointer    data);
45 void   file_close_all_cmd_callback            (GimpAction *action,
46                                                GVariant   *value,
47                                                gpointer    data);
48 void   file_copy_location_cmd_callback        (GimpAction *action,
49                                                GVariant   *value,
50                                                gpointer    data);
51 void   file_show_in_file_manager_cmd_callback (GimpAction *action,
52                                                GVariant   *value,
53                                                gpointer    data);
54 void   file_quit_cmd_callback                 (GimpAction *action,
55                                                GVariant   *value,
56                                                gpointer    data);
57 
58 void   file_file_open_dialog                  (Gimp       *gimp,
59                                                GFile      *file,
60                                                GtkWidget  *parent);
61 
62 
63 #endif /* __FILE_COMMANDS_H__ */
64