X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fchimara-frotz-plugin.h;h=ee9ee12fbfd635af5ab902721815b4096cbcc1ff;hb=9543f384fef0a1ceaa719c910e02fac80624c437;hp=a3eeba2b1ea68f3a525407e08ab0295ac748114f;hpb=6c1f4dbd7b7dc80962990fb6ac176551ca88b21c;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/chimara-frotz-plugin.h b/interpreters/chimara-frotz-plugin.h index a3eeba2..ee9ee12 100644 --- a/interpreters/chimara-frotz-plugin.h +++ b/interpreters/chimara-frotz-plugin.h @@ -24,6 +24,29 @@ struct _ChimaraFrotzPluginClass { PeasExtensionBaseClass parent_class; }; +/** + * ChimaraFrotzDebugFlags: + * @CHIMARA_FROTZ_DEBUG_NONE: No debugging messages + * @CHIMARA_FROTZ_DEBUG_ATTRIBUTE_SETTING: Print a debug message whenever a + * Z-machine object attribute is set or cleared. + * @CHIMARA_FROTZ_DEBUG_ATTRIBUTE_TESTING: Print a debug message whenever a + * Z-machine object attribute is tested. + * @CHIMARA_FROTZ_DEBUG_OBJECT_MOVEMENT: Print a debug message whenever a + * Z-machine object is inserted into or removed from another object. + * @CHIMARA_FROTZ_DEBUG_OBJECT_LOCATING: Print a debug message whenever the + * location of a Z-machine object is checked. + * + * Controls what debugging messages Frotz should print. See the + * :debug-messages property. + */ +typedef enum { + CHIMARA_FROTZ_DEBUG_NONE = 0, + CHIMARA_FROTZ_DEBUG_ATTRIBUTE_SETTING = 1 << 0, + CHIMARA_FROTZ_DEBUG_ATTRIBUTE_TESTING = 1 << 1, + CHIMARA_FROTZ_DEBUG_OBJECT_MOVEMENT = 1 << 2, + CHIMARA_FROTZ_DEBUG_OBJECT_LOCATING = 1 << 3, +} ChimaraFrotzDebugFlags; + GType chimara_frotz_plugin_get_type(void) G_GNUC_CONST; G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);