#include "magic.h"
#include "chimara-glk-private.h"
#include "stream.h"
+#include "strio.h"
G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer);
+G_GNUC_INTERNAL void style_init_textgrid(GtkTextBuffer *buffer);
G_GNUC_INTERNAL void style_init();
-static gboolean style_accept(GScanner *scanner, GTokenType token);
-static gboolean style_accept_style_identifier(GScanner *scanner);
-static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag);
-static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table);
+
+typedef struct StyleSet {
+ GHashTable *text_grid;
+ GHashTable *text_buffer;
+} StyleSet;
#endif