diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-23 16:23:58 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-23 16:23:58 +0800 |
commit | f13cadf70e1c22bad218cd1d8df9910b1dbceeb3 (patch) | |
tree | f6f84afccbcc70c24568548d9b336b4ed35841a3 /include | |
parent | 17284f95ab02f53b0da7a5476e5531ca3c34a3df (diff) | |
download | pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar.gz pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar.bz2 pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar.lz pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar.xz pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.tar.zst pttbbs-f13cadf70e1c22bad218cd1d8df9910b1dbceeb3.zip |
- add Q and improve return value definition in pager
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/modes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/modes.h b/include/modes.h index 24b8a01a..18eb9487 100644 --- a/include/modes.h +++ b/include/modes.h @@ -2,6 +2,7 @@ #ifndef INCLUDE_MODES_H #define INCLUDE_MODES_H +/* common return values of read.c */ #define DONOTHING 0 /* Read menu command return states */ #define FULLUPDATE 1 /* Entire screen was destroyed in this oper */ #define PARTUPDATE 2 /* Only the top three lines were destroyed */ @@ -16,6 +17,11 @@ #define READ_SKIP 12 #define HEADERS_RELOAD 13 +// values returned by pager +#define RET_DOREPLY (999) +#define RET_DORECOMMEND (998) +#define RET_DOQUERYINFO (997) + /* user ¾Þ§@ª¬ºA»P¼Ò¦¡ */ #define IDLE 0 #define MMENU 1 /* menu mode */ |