X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-if.h;h=f8ec757dfd3948676bd15db0d2e84959698f794d;hb=aa30979369091c96bca34499c28cb01bc16efb1d;hp=3bbe06ac7e0b2fd16d10976a6adccd9b3b47151a;hpb=1461483626f28b52f8f9f3cc350f9cb330579285;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/chimara-if.h b/libchimara/chimara-if.h index 3bbe06a..f8ec757 100644 --- a/libchimara/chimara-if.h +++ b/libchimara/chimara-if.h @@ -24,7 +24,7 @@ G_BEGIN_DECLS * * Constants representing all game formats supported by the Chimara system. */ -typedef enum _ChimaraIFFormat { +typedef enum { /*< private >*/ CHIMARA_IF_FORMAT_NONE = -1, /*< public >*/ @@ -44,10 +44,11 @@ typedef enum _ChimaraIFFormat { * @CHIMARA_IF_INTERPRETER_NITFOL: Nitfol * @CHIMARA_IF_INTERPRETER_GLULXE: Glulxe * @CHIMARA_IF_INTERPRETER_GIT: Git + * @CHIMARA_IF_INTERPRETER_BOCFEL: Bocfel * * Constants representing the available interpreter plugins. */ -typedef enum _ChimaraIFInterpreter { +typedef enum { /*< private >*/ CHIMARA_IF_INTERPRETER_NONE = -1, /*< public >*/ @@ -55,6 +56,7 @@ typedef enum _ChimaraIFInterpreter { CHIMARA_IF_INTERPRETER_NITFOL, CHIMARA_IF_INTERPRETER_GLULXE, CHIMARA_IF_INTERPRETER_GIT, + CHIMARA_IF_INTERPRETER_BOCFEL, /*< private >*/ CHIMARA_IF_NUM_INTERPRETERS } ChimaraIFInterpreter; @@ -78,7 +80,7 @@ typedef enum _ChimaraIFInterpreter { * Allowed values for the #ChimaraIF:interpreter-number property. All trademarks * are the property of their respective owners. */ -typedef enum _ChimaraIFZmachineVersion { +typedef enum { CHIMARA_IF_ZMACHINE_DEFAULT = 0, CHIMARA_IF_ZMACHINE_DECSYSTEM_20, CHIMARA_IF_ZMACHINE_APPLE_IIE, @@ -100,13 +102,13 @@ typedef enum _ChimaraIFZmachineVersion { * * This structure contains no public members. */ -typedef struct _ChimaraIF { +typedef struct { ChimaraGlk parent_instance; /*< public >*/ } ChimaraIF; -typedef struct _ChimaraIFClass { +typedef struct { ChimaraGlkClass parent_class; /* Signals */ void(* command) (ChimaraIF *self, gchar *input, gchar *response);