Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5200/include
Modified Files:
Message.h
Log Message:
added MultiLineOk flag to HeaderIterator
Index: Message.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Message.h,v
retrieving revision 1.70
retrieving revision 1.71
diff -b -u -2 -r1.70 -r1.71
--- Message.h 16 Dec 2003 02:00:38 -0000 1.70
+++ Message.h 14 Jul 2004 18:20:00 -0000 1.71
@@ -59,4 +59,15 @@
{
public:
+ /// flags for the last parameter to GetNext()/GetAll()
+ enum
+ {
+ /// collapse headers spanning multiple lines in one line
+ Collapse = 0,
+
+ /// return the headers spanning multiple lines in their original form
+ MultiLineOk = 1
+ };
+
+
/**
Ctor takes the full message header. Normally it is only used by the
@@ -71,7 +82,8 @@
@param name is the pointer to the header name, can't be NULL
@param value is the pointer which receives the header value and may be NULL
+ @param flags from the enum defined above
@return true if ok, false if no more headers
*/
- bool GetNext(String *name, String *value);
+ bool GetNext(String *name, String *value, int flags = Collapse);
/**
@@ -81,7 +93,10 @@
@param names the array to return the header names in
@param values the array to return the header values in
+ @param flags from the enum defined above
@return the number of headers in the arrays
*/
- size_t GetAll(wxArrayString *names, wxArrayString *values);
+ size_t GetAll(wxArrayString *names,
+ wxArrayString *values,
+ int flags = Collapse);
/**
-------------------------------------------------------
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