diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 21:42:48 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 21:42:48 +0200 |
commit | bc651b0222a41edcbc40b6a26bdc8ecfe4a7f503 (patch) | |
tree | c58bf43ab4f13081ab1b25304b6870cef325e7db /src/common/fe.h | |
parent | 2b3e1f46e36ee0726dcf9d55593cadab9d42fcb1 (diff) |
Add extension filter for file dialogs, specify filters and starting folder for loading plugins
Diffstat (limited to 'src/common/fe.h')
-rw-r--r-- | src/common/fe.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/common/fe.h b/src/common/fe.h index 16526581..e330ef3e 100644 --- a/src/common/fe.h +++ b/src/common/fe.h @@ -105,12 +105,13 @@ void fe_set_away (server *serv); void fe_serverlist_open (session *sess); void fe_get_str (char *prompt, char *def, void *callback, void *ud); void fe_get_int (char *prompt, int def, void *callback, void *ud); -#define FRF_WRITE 1 /* save file */ -#define FRF_MULTIPLE 2 /* multi-select */ -#define FRF_ADDFOLDER 4 /* add ~/.xchat2 to favourites */ -#define FRF_CHOOSEFOLDER 8 /* choosing a folder only */ -#define FRF_FILTERISINITIAL 16 /* unused */ +#define FRF_WRITE 1 /* save file */ +#define FRF_MULTIPLE 2 /* multi-select */ +#define FRF_ADDFOLDER 4 /* add ~/.config/hexchat to favourites */ +#define FRF_CHOOSEFOLDER 8 /* choosing a folder only */ +#define FRF_FILTERISINITIAL 16 /* filter is initial directory */ #define FRF_NOASKOVERWRITE 32 /* don't ask to overwrite existing files */ +#define FRF_EXTENSIONS 64 /* specify file extensions to be displayed */ void fe_get_file (const char *title, char *initial, void (*callback) (void *userdata, char *file), void *userdata, int flags); |