diff options
author | Not Zed <NotZed@Ximian.com> | 2004-10-21 17:31:22 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-10-21 17:31:22 +0800 |
commit | 86773ecbedd3e7a6e04100a3e942ee36b14ec0a1 (patch) | |
tree | 07cf084a70e49a361bdafac4f0a808a155b6a6c9 /mail/em-event.h | |
parent | e08821891234e9c43e5e0171d2743463f3aaf2cf (diff) | |
download | gsoc2013-evolution-86773ecbedd3e7a6e04100a3e942ee36b14ec0a1.tar.gz gsoc2013-evolution-86773ecbedd3e7a6e04100a3e942ee36b14ec0a1.tar.zst gsoc2013-evolution-86773ecbedd3e7a6e04100a3e942ee36b14ec0a1.zip |
emit a 'message.replying' event with a message target.
2004-10-21 Not Zed <NotZed@Ximian.com>
* em-composer-utils.c (em_utils_reply_to_message): emit a
'message.replying' event with a message target.
2004-10-21 Nat <nat@novell.com>
* em-event.c (em_event_target_new_message): new target type for
message-related events.
2004-10-21 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_format_popup_event): put 'evolution' back
in the popup hook names.
svn path=/trunk/; revision=27673
Diffstat (limited to 'mail/em-event.h')
-rw-r--r-- | mail/em-event.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mail/em-event.h b/mail/em-event.h index 05c62d9f50..83b0d83b36 100644 --- a/mail/em-event.h +++ b/mail/em-event.h @@ -32,13 +32,16 @@ extern "C" { #pragma } #endif /* __cplusplus */ +struct _CamelFolder; +struct _CamelMimeMessage; + typedef struct _EMEvent EMEvent; typedef struct _EMEventClass EMEventClass; /* Current target description */ -/* Types of popup tagets */ enum _em_event_target_t { EM_EVENT_TARGET_FOLDER, + EM_EVENT_TARGET_MESSAGE, }; /* Flags that describe TARGET_FOLDER */ @@ -53,6 +56,15 @@ struct _EMEventTargetFolder { char *uri; }; +typedef struct _EMEventTargetMessage EMEventTargetMessage; + +struct _EMEventTargetMessage { + EEventTarget target; + struct _CamelFolder *folder; + char *uid; + struct _CamelMimeMessage *message; +}; + typedef struct _EEventItem EMEventItem; /* The object */ @@ -71,6 +83,7 @@ GType em_event_get_type(void); EMEvent *em_event_peek(void); EMEventTargetFolder *em_event_target_new_folder(EMEvent *emp, const char *uri, guint32 flags); +EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, struct _CamelFolder *folder, struct _CamelMimeMessage *message, const char *uid, guint32 flags); /* ********************************************************************** */ |