Graphics caching not operational.
[rodin/chimara.git] / libchimara / chimara-glk.h
index b8ec38cfbc90c7426df96e355d396681a97de6ad..a767fa7bf1e55cbbd3664a055aca47d25b7c550b 100644 (file)
@@ -60,12 +60,18 @@ typedef struct _ChimaraGlkClass {
  *   <listitem><para>An appropriate interpreter plugin for the autodetected
  *   game file type could not be found.</para></listitem>
  * </varlistentry>
+ * <varlistentry>
+ *   <term>CHIMARA_PLUGIN_ALREADY_RUNNING</term>
+ *   <listitem><para>A plugin was opened while there was already another plugin
+ *   running in the widget.</para></listitem>
+ * </varlistentry>
  * </variablelist>
  */
 typedef enum _ChimaraError {
        CHIMARA_LOAD_MODULE_ERROR,
        CHIMARA_NO_GLK_MAIN,
-       CHIMARA_PLUGIN_NOT_FOUND
+       CHIMARA_PLUGIN_NOT_FOUND,
+       CHIMARA_PLUGIN_ALREADY_RUNNING
 } ChimaraError;
 
 /**
@@ -94,6 +100,8 @@ 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_line_input(ChimaraGlk *glk, const gchar *text);
 
 G_END_DECLS