Modified webpage: now tinymail repository is in gitorious.
[modest] / src / modest-dimming-rules-group.h
index aa3941a..9d5ef18 100644 (file)
@@ -69,14 +69,18 @@ GType        modest_dimming_rules_group_get_type    (void) G_GNUC_CONST;
 /**
  * modest_dimming_rules_group_new:
  * @group_name: the name to identify new created group 
+ * @notifications_enabled: notification system status.
  * 
  * Creates a new instance of class #ModestDimmingRulesGroup. The @group_name
  * parameter identifies uniquely new group created, so it must not be NULL.
+ * The @notifications_enabled: parameter sets notification system status
+ * when dimmed rule is called.
  *
  * Returns: a new #ModestDimmingRulesGroup instance, or NULL if parameters 
  * are invalid.
  **/
-ModestDimmingRulesGroup*    modest_dimming_rules_group_new     (const gchar *group_name);
+ModestDimmingRulesGroup*    modest_dimming_rules_group_new     (const gchar *group_name,
+                                                               gboolean notifications_enabled);
 
 
 
@@ -93,7 +97,21 @@ void
 modest_dimming_rules_group_add_rules (ModestDimmingRulesGroup *self,
                                      const ModestDimmingEntry modest_dimming_entries[],
                                      guint n_elements,
-                                     gpointer user_data);
+                                     ModestWindow *window);
+
+/**
+ * modest_dimming_rules_group_add_rules:
+ * @self: the #ModestDimmingRulesGroup object which stores dimming rules.
+ * @rule: a #ModestDimmingRule 
+ * @user_data: generic user data.
+ * 
+ * Add @rule to @self dimming rules group object. 
+ **/
+void
+modest_dimming_rules_group_add_widget_rule (ModestDimmingRulesGroup *self,
+                                           GtkWidget *widget,
+                                           GCallback callback,
+                                           ModestWindow *window);
 
 /**
  * modest_dimming_rules_group_get_name: