diff options
Diffstat (limited to 'src/ui/win_types.h')
-rw-r--r-- | src/ui/win_types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/win_types.h b/src/ui/win_types.h index 28a785bf..c9dc623b 100644 --- a/src/ui/win_types.h +++ b/src/ui/win_types.h @@ -172,12 +172,17 @@ typedef struct prof_muc_win_t { char *message_char; } ProfMucWin; -typedef struct prof_conf_win_t { +typedef struct prof_conf_win_t ProfConfWin; +typedef void (*ProfConfWinCallback)(ProfConfWin *); + +struct prof_conf_win_t { ProfWin window; char *roomjid; DataForm *form; unsigned long memcheck; -} ProfConfWin; + ProfConfWinCallback submit; + ProfConfWinCallback cancel; +}; typedef struct prof_private_win_t { ProfWin window; |