diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:13:25 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:13:25 -0400 |
commit | 031c4891b0be5abaa4ce86c9cad45388c11f9293 (patch) | |
tree | dcd317338053492c052478d6acf85997faad0e30 /src/term.h | |
parent | 1b56c9340343dac2f59d8d39cee11c70cb4c7f7c (diff) | |
download | runes-031c4891b0be5abaa4ce86c9cad45388c11f9293.tar.gz runes-031c4891b0be5abaa4ce86c9cad45388c11f9293.zip |
use pointer indirection to separate source files even more
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -1,19 +1,15 @@ #ifndef _RUNES_TERM_H #define _RUNES_TERM_H -#include <vt100.h> - -#include "config.h" -#include "display.h" -#include "pty-unix.h" -#include "window-xlib.h" +struct vt100_screen; +typedef struct vt100_screen VT100Screen; struct runes_term { - RunesWindowBackend w; - RunesPtyBackend pty; - VT100Screen scr; - RunesConfig config; - RunesDisplay display; + RunesConfig *config; + RunesDisplay *display; + RunesWindowBackend *w; + RunesPtyBackend *pty; + VT100Screen *scr; RunesLoop *loop; }; |