diff options
author | Tom Tromey <tom@tromey.com> | 2018-11-09 17:29:50 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-12-28 12:49:48 -0700 |
commit | eedeedd2a50d121af466ddfa9e897212defbf079 (patch) | |
tree | a202f17d1f388d672526f05cbb6a274622101200 /gdb/ui-file.h | |
parent | 7170dadf5950e1444ab09cdfc4e07dd2698fc275 (diff) | |
download | gdb-eedeedd2a50d121af466ddfa9e897212defbf079.zip gdb-eedeedd2a50d121af466ddfa9e897212defbf079.tar.gz gdb-eedeedd2a50d121af466ddfa9e897212defbf079.tar.bz2 |
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 <tom@tromey.com>
* 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.
Diffstat (limited to 'gdb/ui-file.h')
-rw-r--r-- | gdb/ui-file.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <string> +#include "ui-style.h" /* The abstract ui_file base class. */ |