File indexing completed on 2025-03-13 08:35:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef _ATSPI_MATCH_RULE_H_
0027 #define _ATSPI_MATCH_RULE_H_
0028
0029 #include "glib-object.h"
0030
0031 #include "atspi-constants.h"
0032 #include "atspi-stateset.h"
0033 #include "atspi-types.h"
0034
0035 G_BEGIN_DECLS
0036
0037 #define ATSPI_TYPE_MATCH_RULE (atspi_match_rule_get_type ())
0038 #define ATSPI_MATCH_RULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_MATCH_RULE, AtspiMatchRule))
0039 #define ATSPI_MATCH_RULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_MATCH_RULE, AtspiMatchRuleClass))
0040 #define ATSPI_IS_MATCH_RULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_MATCH_RULE))
0041 #define ATSPI_IS_MATCH_RULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_MATCH_RULE))
0042 #define ATSPI_MATCH_RULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_MATCH_RULE, AtspiMatchRuleClass))
0043
0044 typedef struct _AtspiMatchRule AtspiMatchRule;
0045 struct _AtspiMatchRule
0046 {
0047 GObject parent;
0048 AtspiStateSet *states;
0049 AtspiCollectionMatchType statematchtype;
0050 GHashTable *attributes;
0051 AtspiCollectionMatchType attributematchtype;
0052 GArray *interfaces;
0053 AtspiCollectionMatchType interfacematchtype;
0054 gint roles[4];
0055 AtspiCollectionMatchType rolematchtype;
0056 gboolean invert;
0057 };
0058
0059 typedef struct _AtspiMatchRuleClass AtspiMatchRuleClass;
0060 struct _AtspiMatchRuleClass
0061 {
0062 GObjectClass parent_class;
0063 };
0064
0065 GType atspi_match_rule_get_type ();
0066
0067 AtspiMatchRule *
0068 atspi_match_rule_new (AtspiStateSet *states,
0069 AtspiCollectionMatchType statematchtype,
0070 GHashTable *attributes,
0071 AtspiCollectionMatchType attributematchtype,
0072 GArray *roles,
0073 AtspiCollectionMatchType rolematchtype,
0074 GArray *interfaces,
0075 AtspiCollectionMatchType interfacematchtype,
0076 gboolean invert);
0077
0078 G_END_DECLS
0079
0080 #endif