From eedeedd2a50d121af466ddfa9e897212defbf079 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 9 Nov 2018 17:29:50 -0700 Subject: Introduce ui_file_style This introduces the new ui_file_style class and various helpers. This class represents a terminal style and provides methods for parsing and emitting the corresponding ANSI terminal escape sequences. gdb/ChangeLog 2018-12-28 Tom Tromey * unittests/style-selftests.c: New file. * ui-style.c: New file. * ui-style.h: New file. * ui-file.h: Include ui-style.h. * Makefile.in (COMMON_SFILES): Add ui-style.c. (HFILES_NO_SRCDIR): Add ui-style.h. (SUBDIR_UNITTESTS_SRCS): Add style-selftests.c. --- gdb/ui-file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/ui-file.h') diff --git a/gdb/ui-file.h b/gdb/ui-file.h index 2cf5f83..b780dff 100644 --- a/gdb/ui-file.h +++ b/gdb/ui-file.h @@ -20,6 +20,7 @@ #define UI_FILE_H #include +#include "ui-style.h" /* The abstract ui_file base class. */ -- cgit v1.1