X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;h=12ab8b1c164efebe1c4f4291708e7771f5d33412;hb=15386cbe927fc85ac2fed0bb47704645c4b67dad;hp=f603eb51803437cdec830bd50e1630eb3f5d0bf3;hpb=8fdeb3a95cc3d7dce5629fc22e309eb3c996f44d;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index f603eb51..12ab8b1c 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -94,6 +94,21 @@ unsigned long getticks(void); /* based on gettimeofday(2) */ */ #define FLAG_STDERR_TTY 0x1000 +/* The per-session frontend structure managed by gtkwin.c */ +struct gui_data; +struct gui_data *new_session_window(Conf *conf, const char *geometry_string); + +/* Defined in gtkmain.c */ +void launch_duplicate_session(Conf *conf); +void launch_new_session(void); +void launch_saved_session(const char *str); +#ifdef MAY_REFER_TO_GTK_IN_HEADERS +GtkWidget *make_gtk_toplevel_window(void *frontend); +#endif + +/* Defined in gtkcomm.c */ +void gtkcomm_setup(void); + /* Things pty.c needs from pterm.c */ const char *get_x_display(void *frontend); int font_dimension(void *frontend, int which);/* 0 for width, 1 for height */ @@ -116,7 +131,7 @@ void logevent_dlg(void *estuff, const char *string); int reallyclose(void *frontend); #ifdef MAY_REFER_TO_GTK_IN_HEADERS int messagebox(GtkWidget *parentwin, const char *title, - const char *msg, int minwid, ...); + const char *msg, int minwid, int selectable, ...); #endif /* Things pterm.c needs from {ptermm,uxputty}.c */