my homework was late :-)
[midnight-commander.git] / gnome / gcmd.h
blobc24451c80e00b52c3722318a766777b90b362030
1 #ifndef __GCMD_H
2 #define __GCMD_H
4 #include "panel.h"
5 #include "dir.h" /* sortfn */
7 void gnome_listing_cmd (GtkWidget *widget, WPanel *panel);
8 void gnome_compare_panels (void);
9 void gnome_open_terminal (void);
10 void gnome_open_terminal_with_cmd (const char *command);
11 void gnome_about_cmd (void);
12 void gnome_open_panel (GtkWidget *widget, WPanel *panel);
13 void gnome_close_panel (GtkWidget *widget, WPanel *panel);
15 void gnome_icon_view_cmd (GtkWidget *widget, WPanel *panel);
16 void gnome_brief_view_cmd (GtkWidget *widget, WPanel *panel);
17 void gnome_detailed_view_cmd (GtkWidget *widget, WPanel *panel);
18 void gnome_custom_view_cmd (GtkWidget *widget, WPanel *panel);
19 void gnome_newfile_cmd (GtkWidget *widget, WPanel *panel);
21 typedef enum {
22 SORT_NAME,
23 SORT_EXTENSION,
24 SORT_ACCESS,
25 SORT_MODIFY,
26 SORT_CHANGE,
27 SORT_SIZE
28 } SortType; /* Used for arrange icons */
30 sortfn *sort_get_func_from_type (SortType type);
32 void gnome_sort_cmd (GtkWidget *widget, WPanel *panel);
33 void gnome_empty_trash (GtkWidget *widget, WPanel *panel);
34 void gnome_select_all_cmd (GtkWidget *widget, WPanel *panel);
35 void gnome_start_search (GtkWidget *widget, WPanel *panel);
36 void gnome_filter_cmd (GtkWidget *widget, WPanel *panel);
37 void gnome_external_panelize (GtkWidget *widget, WPanel *panel);
38 void gnome_open_files (GtkWidget *widget, WPanel *panel);
39 void gnome_run_new (GtkWidget *widget, GnomeDesktopEntry *gde);
40 void gnome_mkdir_cmd (GtkWidget *widget, WPanel *panel);
41 void gnome_new_launcher (GtkWidget *widget, WPanel *panel);
42 void gnome_reverse_selection_cmd_panel (GtkWidget *widget, WPanel *panel);
43 void gnome_select (GtkWidget *widget, WPanel *panel);
44 void set_cursor_normal (WPanel *panel);
45 void set_cursor_busy (WPanel *panel);
46 void gnome_new_link (GtkWidget *widget, WPanel *panel);
48 #endif /* __GCMD_H */