Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19355/include/gui
Modified Files:
wxMenuDefs.h wxComposeView.h
Log Message:
added 'Send now' command to the composer
Index: wxMenuDefs.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMenuDefs.h,v
retrieving revision 1.128
retrieving revision 1.129
diff -b -u -2 -r1.128 -r1.129
--- wxMenuDefs.h 11 Jul 2004 22:51:49 -0000 1.128
+++ wxMenuDefs.h 16 Jul 2004 22:42:00 -0000 1.129
@@ -275,9 +275,11 @@
WXMENU_COMPOSE_INSERTFILE,
WXMENU_COMPOSE_LOADTEXT,
+ WXMENU_COMPOSE_SEP1,
WXMENU_COMPOSE_SEND,
WXMENU_COMPOSE_SAVE_AS_DRAFT,
+ WXMENU_COMPOSE_SEND_NOW,
WXMENU_COMPOSE_SEND_LATER,
WXMENU_COMPOSE_SEND_KEEP_OPEN,
- WXMENU_COMPOSE_SEP1,
+ WXMENU_COMPOSE_SEP2,
WXMENU_COMPOSE_PRINT,
WXMENU_COMPOSE_PREVIEW,
@@ -285,7 +287,7 @@
WXMENU_COMPOSE_CLEAR,
WXMENU_COMPOSE_EVAL_TEMPLATE,
- WXMENU_COMPOSE_SEP2,
- WXMENU_COMPOSE_EXTEDIT,
WXMENU_COMPOSE_SEP3,
+ WXMENU_COMPOSE_EXTEDIT,
+ WXMENU_COMPOSE_SEP4,
WXMENU_COMPOSE_CUSTOM_HEADERS,
WXMENU_COMPOSE_END = WXMENU_COMPOSE_CUSTOM_HEADERS,
Index: wxComposeView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxComposeView.h,v
retrieving revision 1.97
retrieving revision 1.98
diff -b -u -2 -r1.97 -r1.98
--- wxComposeView.h 2 Nov 2003 11:12:02 -0000 1.97
+++ wxComposeView.h 16 Jul 2004 22:42:00 -0000 1.98
@@ -55,4 +55,20 @@
// ----------------------------------------------------------------------------
+/// when to send the message
+enum SendMode
+{
+ /// either now or later, depending on the options
+ SendMode_Default,
+
+ /// send it immediately
+ SendMode_Now,
+
+ /// just put it in outbox
+ SendMode_Later,
+
+ /// end of enum marker
+ SendMode_Max
+};
+
// ----------------------------------------------------------------------------
// wxComposeView: composer frame
@@ -172,9 +188,11 @@
bool AutoSave();
- /** Send the message.
- @param schedule if TRUE, call calendar module to schedule sending
- @return true if successful, false otherwise
+ /**
+ Send the message.
+
+ @param mode when to send it
+ @return true if successful, false if message was not ready to be sent
*/
- bool Send(bool schedule = FALSE);
+ bool Send(SendMode mode = SendMode_Default);
/** wxWindows callbacks
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates