Add properties to Frotz plugin
[projects/chimara/chimara.git] / interpreters / chimara-frotz-plugin.h
index a3eeba2b1ea68f3a525407e08ab0295ac748114f..ee9ee12fbfd635af5ab902721815b4096cbcc1ff 100644 (file)
@@ -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);