Don't use "cp -u" in build script; doesn't work on FreeBSD
[rox-filer.git] / ROX-Filer / src / main.h
blob44262caeea9128cad76af18f0c2185608c73fbdb
1 /*
2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
4 */
6 #ifndef _MAIN_H
7 #define _MAIN_H
9 #include <sys/types.h>
10 #include <gtk/gtk.h>
12 typedef struct _Callback Callback;
13 typedef void (*CallbackFn)(gpointer data);
15 extern GtkTooltips *tooltips;
17 struct _Callback
19 CallbackFn callback;
20 gpointer data;
23 extern int number_of_windows;
24 extern Option o_override_redirect;
25 extern int to_wakeup_pipe;
27 extern uid_t euid;
28 extern gid_t egid;
29 extern int ngroups; /* Number of supplemental groups */
30 extern gid_t *supplemental_groups;
31 extern const gchar *show_user_message;
32 extern int home_dir_len;
33 extern const char *home_dir, *app_dir;
34 extern Option o_dnd_no_hostnames;
36 /* Prototypes */
37 int main(int argc, char **argv);
38 void on_child_death(gint child, CallbackFn callback, gpointer data);
39 void one_less_window(void);
41 #endif /* _MAIN_H */