X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-glk.h;h=75c774075772080c9601b7c394b526bd5d5e0b0a;hb=7e3ce2d0110b47a67b04a457d1ea215ce1bf1078;hp=b0709c0c3ae9019b729b8575797b2f186fedf453;hpb=ae1a5770d142aa0900f1a4d4c7e7732a38aaafa9;p=rodin%2Fchimara.git
diff --git a/libchimara/chimara-glk.h b/libchimara/chimara-glk.h
index b0709c0..75c7740 100644
--- a/libchimara/chimara-glk.h
+++ b/libchimara/chimara-glk.h
@@ -40,32 +40,18 @@ typedef struct _ChimaraGlkClass {
/**
* ChimaraError:
+ * @CHIMARA_LOAD_MODULE_ERROR: There was an error opening the plugin containing
+ * the Glk program. The error message from g_module_error() is appended to the GError message.
+ * @CHIMARA_NO_GLK_MAIN: The plugin containing the Glk program did not export a
+ * glk_main() function.
+ * @CHIMARA_PLUGIN_NOT_FOUND: An appropriate interpreter plugin for the
+ * autodetected game file type could not be found.
+ * @CHIMARA_PLUGIN_ALREADY_RUNNING: A plugin was opened while there was already
+ * another plugin running in the widget.
*
* Error codes returned by #ChimaraGlk widgets and subclasses.
- *
- *
- * CHIMARA_LOAD_MODULE_ERROR
- * There was an error opening the plugin containing the Glk
- * program. The error message from g_module_error() is appended to the GError message.
- *
- *
- * CHIMARA_NO_GLK_MAIN
- * The plugin containing the Glk program did not export a
- * glk_main() function.
- *
- *
- * CHIMARA_PLUGIN_NOT_FOUND
- * An appropriate interpreter plugin for the autodetected
- * game file type could not be found.
- *
- *
- * CHIMARA_PLUGIN_ALREADY_RUNNING
- * A plugin was opened while there was already another plugin
- * running in the widget.
- *
- *
*/
typedef enum _ChimaraError {
CHIMARA_LOAD_MODULE_ERROR,
@@ -97,7 +83,7 @@ gboolean chimara_glk_run(ChimaraGlk *glk, const gchar *plugin, int argc, char *a
void chimara_glk_stop(ChimaraGlk *glk);
void chimara_glk_wait(ChimaraGlk *glk);
gboolean chimara_glk_get_running(ChimaraGlk *glk);
-void chimara_glk_feed_char_input(ChimaraGlk *glk, guint32 keycode);
+void chimara_glk_feed_char_input(ChimaraGlk *glk, guint32 keyval);
void chimara_glk_feed_line_input(ChimaraGlk *glk, const gchar *text);
G_END_DECLS