Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3814/include
Modified Files:
Collect.h Mdefaults.h MessageView.h
Log Message:
use MAction instead of int for the flags taking M_ACTION_XXX value
Index: Collect.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Collect.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- Collect.h 20 Jun 2002 14:32:04 -0000 1.2
+++ Collect.h 15 May 2005 21:16:50 -0000 1.3
@@ -12,4 +12,6 @@
///////////////////////////////////////////////////////////////////////////////
+#include "Mdefaults.h" // for MAction enum
+
class Message;
@@ -17,5 +19,5 @@
@param message the message to collect addresses from
- @param autocollectFlag the 0,1,2 value whether to do auto collection or not
+ @param autocollectFlag M_ACTION_NEVER, M_ACTION_ALWAYS or M_ACTION_PROMPT
@param senderOnly if true, only collect sender's address
@param collectNamed if true, only collect addresses with a name
@@ -25,5 +27,5 @@
*/
extern void AutoCollectAddresses(const Message *message,
- int autocollectFlag,
+ MAction autocollectFlag,
bool senderOnly,
bool collectNamed,
@@ -36,5 +38,5 @@
@param email email address string
@param name User name or empty
- @param autocollectFlag the 0,1,2 value whether to do auto collection or not
+ @param autocollectFlag M_ACTION_NEVER, M_ACTION_ALWAYS or M_ACTION_PROMPT
@param collectNamed if true, only collect addresses with a name
@param bookName the address book name for auto collection
@@ -44,5 +46,5 @@
extern void AutoCollectAddress(const String& email,
const String& name,
- int autocollectFlag,
+ MAction autocollectFlag,
bool collectNamed,
const String& bookName,
Index: Mdefaults.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Mdefaults.h,v
retrieving revision 1.258
retrieving revision 1.259
diff -b -u -2 -r1.258 -r1.259
--- Mdefaults.h 18 Sep 2003 16:30:42 -0000 1.258
+++ Mdefaults.h 15 May 2005 21:16:50 -0000 1.259
@@ -30,5 +30,5 @@
*/
//@{
-enum
+enum MAction
{
/// never do this action
Index: MessageView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MessageView.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -b -u -2 -r1.58 -r1.59
--- MessageView.h 27 Sep 2004 13:43:59 -0000 1.58
+++ MessageView.h 15 May 2005 21:16:50 -0000 1.59
@@ -387,5 +387,5 @@
/// Autocollect email addresses?
- int autocollect;
+ MAction autocollect;
/// Autocollect only email sender's address?
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates