dist_data_DATA = chimara.ui chimara.menus glulxercise.ui
-noinst_PROGRAMS = test-chimara test-multisession glulxercise
+noinst_PROGRAMS = test-chimara test-multisession glulxercise plugin-loader
test_chimara_SOURCES = main.c callbacks.c error.c error.h
test_chimara_CPPFLAGS = $(AM_CPPFLAGS) \
glulxercise_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
glulxercise_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
+plugin_loader_SOURCES = plugin-loader.c
+plugin_loader_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
+plugin_loader_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
+
pkglib_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la
PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk_main$$"
assert(buffer);
fprintf(stderr, "Line input field until end of line\n");
+ glk_window_move_cursor(mainwin, 10, 18);
+ glk_request_line_event(mainwin, buffer, 256, 0);
+ while(1) {
+ glk_select(&ev);
+ if(ev.type == evtype_LineInput)
+ break;
+ }
+
+ fprintf(stderr, "Another line input field until end of line\n");
glk_window_move_cursor(mainwin, 10, 20);
glk_request_line_event(mainwin, buffer, 256, 0);
while(1) {