1 | /* |
1 | /* |
2 | * $Id: rxvt.h,v 1.5 2003/11/25 15:44:39 pcg Exp $ |
2 | * $Id: rxvt.h,v 1.8 2003/11/27 10:12:10 pcg Exp $ |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef _RXVT_H_ /* include once only */ |
5 | #ifndef _RXVT_H_ /* include once only */ |
6 | #define _RXVT_H_ |
6 | #define _RXVT_H_ |
7 | |
7 | |
… | |
… | |
1018 | #if (defined(HAVE_SETEUID) || defined(HAVE_SETREUID)) && !defined(__CYGWIN32__) |
1018 | #if (defined(HAVE_SETEUID) || defined(HAVE_SETREUID)) && !defined(__CYGWIN32__) |
1019 | uid_t euid; |
1019 | uid_t euid; |
1020 | gid_t egid; |
1020 | gid_t egid; |
1021 | #endif |
1021 | #endif |
1022 | /* ---------- */ |
1022 | /* ---------- */ |
1023 | Cursor pointer_leftptr; |
1023 | Cursor leftptr_cursor; |
1024 | #ifdef POINTER_BLANK |
1024 | #ifdef POINTER_BLANK |
1025 | Cursor pointer_blank; |
1025 | Cursor blank_cursor; |
1026 | #endif |
1026 | #endif |
1027 | /* ---------- */ |
1027 | /* ---------- */ |
1028 | const char *ttydev; /* pty/tty name */ |
1028 | const char *ttydev; /* pty/tty name */ |
1029 | #ifndef NO_BACKSPACE_KEY |
1029 | #ifndef NO_BACKSPACE_KEY |
1030 | const char *key_backspace; |
1030 | const char *key_backspace; |
… | |
… | |
1113 | /* command input buffering */ |
1113 | /* command input buffering */ |
1114 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1114 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1115 | unsigned char cmdbuf_base[BUFSIZ]; |
1115 | unsigned char cmdbuf_base[BUFSIZ]; |
1116 | unsigned char kbuf[KBUFSZ]; |
1116 | unsigned char kbuf[KBUFSZ]; |
1117 | |
1117 | |
|
|
1118 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
|
|
1119 | |
1118 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1120 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1119 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1121 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1120 | |
1122 | |
1121 | #ifdef CURSOR_BLINK |
1123 | #ifdef CURSOR_BLINK |
1122 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1124 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1123 | #endif |
1125 | #endif |
1124 | |
1126 | |
|
|
1127 | #ifdef POINTER_BLANK |
|
|
1128 | void pointer_cb (time_watcher &w); time_watcher pointer_ev; |
|
|
1129 | void pointer_blank (); |
|
|
1130 | void pointer_unblank (); |
|
|
1131 | #endif |
|
|
1132 | |
1125 | void flush (); |
1133 | void flush (); |
1126 | |
1134 | |
1127 | rxvt_term (); |
1135 | rxvt_term (); |
1128 | ~rxvt_term (); |
1136 | ~rxvt_term (); |
|
|
1137 | void destroy (); |
1129 | |
1138 | |
1130 | bool init (int argc, const char *const *argv); |
1139 | bool init (int argc, const char *const *argv); |
1131 | bool init_vars (); |
1140 | bool init_vars (); |
1132 | |
1141 | |
1133 | uint32_t next_char (); |
1142 | uint32_t next_char (); |
1134 | |
1143 | |
1135 | bool pty_fill (size_t count); |
1144 | bool pty_fill (); |
1136 | void process_x_events (); |
1145 | void process_x_events (); |
1137 | |
1146 | |
1138 | void *operator new (size_t s); |
1147 | void *operator new (size_t s); |
1139 | void operator delete (void *p, size_t s); |
1148 | void operator delete (void *p, size_t s); |
1140 | }; |
1149 | }; |