diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:16:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-30 03:21:07 -0400 |
commit | 04cf8dd207c79ee4331de684d1e9fc2bfa437547 (patch) | |
tree | 004afaa7ea1400694ff8563f0991b5e9f880b124 /src/runes.h | |
parent | 2adc1256bafe38d350f83a3e7ccc4e6becf919a1 (diff) | |
download | runes-04cf8dd207c79ee4331de684d1e9fc2bfa437547.tar.gz runes-04cf8dd207c79ee4331de684d1e9fc2bfa437547.zip |
pull event loop handling into its own file
Diffstat (limited to 'src/runes.h')
-rw-r--r-- | src/runes.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/runes.h b/src/runes.h index 6012983..5bc91d4 100644 --- a/src/runes.h +++ b/src/runes.h @@ -13,6 +13,7 @@ struct runes_window; struct runes_pty; struct runes_config; struct runes_display; +struct runes_loop; struct runes_loop_data; typedef struct runes_term RunesTerm; @@ -20,15 +21,13 @@ typedef struct runes_window RunesWindowBackend; typedef struct runes_pty RunesPtyBackend; typedef struct runes_config RunesConfig; typedef struct runes_display RunesDisplay; +typedef struct runes_loop RunesLoop; typedef struct runes_loop_data RunesLoopData; -struct runes_loop_data { - uv_work_t req; - RunesTerm *t; -}; - #include "util.h" +#include "loop.h" + #include "window-xlib.h" #include "pty-unix.h" |