X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-recpt-editor.h;h=0956a5009bcd1665b94bfe07dfab93be4046fcc8;hp=989dc65cb2b69e37c26af9f97af9fbfc38922f1e;hb=556398d85f1803ab8d4871a107bc4b8938c444ae;hpb=8f1fca99bd58a28c51d2a017e9b0ccc9e75954f6 diff --git a/src/widgets/modest-recpt-editor.h b/src/widgets/modest-recpt-editor.h index 989dc65..0956a50 100644 --- a/src/widgets/modest-recpt-editor.h +++ b/src/widgets/modest-recpt-editor.h @@ -32,6 +32,7 @@ #include #include #include +#include G_BEGIN_DECLS @@ -54,6 +55,10 @@ struct _ModestRecptEditor struct _ModestRecptEditorClass { GtkHBoxClass parent_class; + + /* signals */ + + void (*open_addressbook) (ModestRecptEditor *editor); }; GType modest_recpt_editor_get_type (void); @@ -62,8 +67,18 @@ GtkWidget* modest_recpt_editor_new (void); void modest_recpt_editor_set_recipients (ModestRecptEditor *recpt_editor, const gchar *recipients); const gchar *modest_recpt_editor_get_recipients (ModestRecptEditor *repct_editor); +void modest_recpt_editor_add_recipients (ModestRecptEditor *recpt_editor, const gchar *recipients); +void modest_recpt_editor_add_resolved_recipient (ModestRecptEditor *recpt_editor, + GSList *email_list, + const gchar * recipient_id); +void modest_recpt_editor_replace_with_resolved_recipient (ModestRecptEditor *recpt_editor, + GtkTextIter *start, GtkTextIter *end, + GSList *email_list, + const gchar *recipient_id); void modest_recpt_editor_set_field_size_group (ModestRecptEditor *recpt_editor, GtkSizeGroup *size_group); +GtkTextBuffer *modest_recpt_editor_get_buffer (ModestRecptEditor *recpt_editor); +void modest_recpt_editor_grab_focus (ModestRecptEditor *recpt_editor); G_END_DECLS