diff options
author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-12 14:28:58 +0200 |
---|---|---|
committer | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-12 14:28:58 +0200 |
commit | 5d53c51fae483b9a4cbb3636932f7d753d67c384 (patch) | |
tree | 87486e0f97b4252a6eb954ace05c47465daa2dfe /src/nvim/message.h | |
parent | 77db0b2bba97603e59614bb95d6eab76e42f9288 (diff) | |
parent | a32df5e734460dfdf9bc85aebf5252d64fcb99f5 (diff) | |
download | rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.gz rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.bz2 rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.zip |
Merge #837 'Move defines from vim.h - phase2'
Diffstat (limited to 'src/nvim/message.h')
-rw-r--r-- | src/nvim/message.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nvim/message.h b/src/nvim/message.h index 6e6b57d12e..f04005a7ad 100644 --- a/src/nvim/message.h +++ b/src/nvim/message.h @@ -3,6 +3,25 @@ #include <stdbool.h> +/* + * Types of dialogs passed to do_dialog(). + */ +#define VIM_GENERIC 0 +#define VIM_ERROR 1 +#define VIM_WARNING 2 +#define VIM_INFO 3 +#define VIM_QUESTION 4 +#define VIM_LAST_TYPE 4 /* sentinel value */ + +/* + * Return values for functions like vim_dialogyesno() + */ +#define VIM_YES 2 +#define VIM_NO 3 +#define VIM_CANCEL 4 +#define VIM_ALL 5 +#define VIM_DISCARDALL 6 + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "message.h.generated.h" #endif |