aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.h
diff options
context:
space:
mode:
authorRaghavendran R <raghavguru7@gmail.com>2007-01-23 02:56:27 +0800
committerVeerapuram Varadhan <vvaradan@src.gnome.org>2007-01-23 02:56:27 +0800
commitb7688e6635f3c2a365a1c2a1f36f301aa273ca68 (patch)
treef80ce9d2eaed37657d818dda9070b3d1df25763e /mail/em-event.h
parent2a1d77a838cd309647088f13b81afce46d5ae90e (diff)
downloadgsoc2013-evolution-b7688e6635f3c2a365a1c2a1f36f301aa273ca68.tar.gz
gsoc2013-evolution-b7688e6635f3c2a365a1c2a1f36f301aa273ca68.tar.zst
gsoc2013-evolution-b7688e6635f3c2a365a1c2a1f36f301aa273ca68.zip
Creates and returns an event target (composer).
2007-01-22 Raghavendran R <raghavguru7@gmail.com> * em-event.[c,h]: (em_event_target_new_composer): Creates and returns an event target (composer). svn path=/trunk/; revision=33135
Diffstat (limited to 'mail/em-event.h')
-rw-r--r--mail/em-event.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/em-event.h b/mail/em-event.h
index aa772fb063..59171746f2 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -26,6 +26,7 @@
#include <glib-object.h>
#include "e-util/e-event.h"
+#include "composer/e-msg-composer.h"
#ifdef __cplusplus
extern "C" {
@@ -42,6 +43,7 @@ typedef struct _EMEventClass EMEventClass;
enum _em_event_target_t {
EM_EVENT_TARGET_FOLDER,
EM_EVENT_TARGET_MESSAGE,
+ EM_EVENT_TARGET_COMPOSER,
};
/* Flags that describe TARGET_FOLDER */
@@ -54,6 +56,11 @@ enum {
EM_EVENT_MESSAGE_REPLY_ALL = 1<< 0,
};
+/* Flags that describe TARGET_COMPOSER */
+enum {
+ EM_EVENT_COMPOSER_SEND_OPTION = 1<< 0,
+};
+
typedef struct _EMEventTargetFolder EMEventTargetFolder;
struct _EMEventTargetFolder {
@@ -70,6 +77,14 @@ struct _EMEventTargetMessage {
struct _CamelMimeMessage *message;
};
+typedef struct _EMEventTargetComposer EMEventTargetComposer;
+
+struct _EMEventTargetComposer {
+ EEventTarget target;
+
+ EMsgComposer *composer;
+};
+
typedef struct _EEventItem EMEventItem;
/* The object */
@@ -88,6 +103,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);
+EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const EMsgComposer *composer, guint32 flags);
EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, struct _CamelFolder *folder, struct _CamelMimeMessage *message, const char *uid, guint32 flags);
/* ********************************************************************** */