aboutsummaryrefslogtreecommitdiffstats
path: root/src/runes.h
blob: 6012983d9c0209cac932b517c7267ce87b704a51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef _RUNES_H
#define _RUNES_H

#include <cairo.h>
#include <pango/pangocairo.h>
#include <uv.h>
#include <vt100.h>

#define RUNES_READ_BUFFER_LENGTH 4096

struct runes_term;
struct runes_window;
struct runes_pty;
struct runes_config;
struct runes_display;
struct runes_loop_data;

typedef struct runes_term RunesTerm;
typedef struct runes_window RunesWindowBackend;
typedef struct runes_pty RunesPtyBackend;
typedef struct runes_config RunesConfig;
typedef struct runes_display RunesDisplay;
typedef struct runes_loop_data RunesLoopData;

struct runes_loop_data {
    uv_work_t req;
    RunesTerm *t;
};

#include "util.h"

#include "window-xlib.h"
#include "pty-unix.h"

#include "config.h"
#include "display.h"

#include "term.h"

#define UNUSED(x) ((void)x)

#endif