#include <glib-object.h>
#include "widgets/modest-window.h"
+#include "modest-dimming-rules-group.h"
G_BEGIN_DECLS
ModestDimmingCallback dimming_rule,
const gchar *action_path);
-void
-modest_dimming_rule_process (ModestDimmingRule *self);
+/**
+ * modest_dimming_rule_process:
+ * @rule: a #ModestDimmingRule object to process.
+ *
+ * Process dimming rule, executing private callback defined at
+ * instantiation time. This callback may updates notification provate field
+ * of @rule in order to show information banners when 'insensitive-press'
+ * events occurs.
+ *
+ **/
+void modest_dimming_rule_process (ModestDimmingRule *self);
+
+/**
+ * modest_dimming_rule_set_group:
+ * @rule: a #ModestDimmingRule object to process.
+ * @group: a #ModestDimmingRulesGroup object to associate.
+ *
+ * Creates a new reference of @group, associated to this "rule.
+ */
+void modest_dimming_rule_set_group (ModestDimmingRule *rule,
+ ModestDimmingRulesGroup *group);
+
+/**
+ * modest_dimming_rule_set_group:
+ * @rule: a #ModestDimmingRule object to process.
+ *
+ * Gets a new reference of associated group of this @rule.
+ *
+ * @Returns: a new object reference of #ModestDimmingRulesGroup, or
+ * NULL if invalid @rule.
+ */
+ModestDimmingRulesGroup *
+modest_dimming_rule_get_group (ModestDimmingRule *rule);
+
+void modest_dimming_rule_set_notification (ModestDimmingRule *rule,
+ const gchar *notification);
+
+gchar *modest_dimming_rule_get_notification (ModestDimmingRule *rule);
+
G_END_DECLS