diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-04 03:08:03 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-04 03:08:03 +0800 |
commit | 2a1f72d4008b5ad48129846f689d30b63450b9f9 (patch) | |
tree | ca8a6172bb540295e71011647bcd342033831b4c /mail/em-event.h | |
parent | 24c422f89dcba8b085bc15ea6e3230d85472f4e9 (diff) | |
download | gsoc2013-evolution-2a1f72d4008b5ad48129846f689d30b63450b9f9.tar.gz gsoc2013-evolution-2a1f72d4008b5ad48129846f689d30b63450b9f9.tar.zst gsoc2013-evolution-2a1f72d4008b5ad48129846f689d30b63450b9f9.zip |
** Added the hook for plugging into Send/Receive dialog for the
Evolution RSS plugin.
svn path=/trunk/; revision=33749
Diffstat (limited to 'mail/em-event.h')
-rw-r--r-- | mail/em-event.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/em-event.h b/mail/em-event.h index 90bb23dca4..7ad3f693a9 100644 --- a/mail/em-event.h +++ b/mail/em-event.h @@ -35,6 +35,7 @@ extern "C" { struct _CamelFolder; struct _CamelMimeMessage; struct _EMsgComposer; +struct _GtkWidget; typedef struct _EMEvent EMEvent; typedef struct _EMEventClass EMEventClass; @@ -44,6 +45,7 @@ enum _em_event_target_t { EM_EVENT_TARGET_FOLDER, EM_EVENT_TARGET_MESSAGE, EM_EVENT_TARGET_COMPOSER, + EM_EVENT_TARGET_SEND_RECEIVE, }; /* Flags that describe TARGET_FOLDER */ @@ -61,6 +63,11 @@ enum { EM_EVENT_COMPOSER_SEND_OPTION = 1<< 0, }; +/* Flags that describe TARGET_SEND_RECEIVE*/ +enum { + EM_EVENT_SEND_RECEIVE = 1<< 0, +}; + typedef struct _EMEventTargetFolder EMEventTargetFolder; struct _EMEventTargetFolder { @@ -87,6 +94,17 @@ struct _EMEventTargetComposer { struct _EMsgComposer *composer; }; +typedef struct _EMEventTargetSendReceive EMEventTargetSendReceive; + +struct _EMEventTargetSendReceive { + EEventTarget target; + + struct _GtkWidget *table; + gpointer *data; + int row; +}; + + typedef struct _EEventItem EMEventItem; /* The object */ @@ -107,6 +125,7 @@ EMEvent *em_event_peek(void); EMEventTargetFolder *em_event_target_new_folder(EMEvent *emp, const char *uri, guint32 flags); EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const struct _EMsgComposer *composer, guint32 flags); EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, struct _CamelFolder *folder, struct _CamelMimeMessage *message, const char *uid, guint32 flags); +EMEventTargetSendReceive * em_event_target_new_send_receive(EMEvent *eme, struct _GtkWidget *table, gpointer *data, int row, guint32 flags); /* ********************************************************************** */ |