Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27860/include
Modified Files:
QuotedText.h
Log Message:
added GetUnquotedText(); use it to only look for attachment-indicating regex in
the part of the message the user actually wrote
Index: QuotedText.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/QuotedText.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- QuotedText.h 8 Apr 2006 20:56:00 -0000 1.1
+++ QuotedText.h 8 Apr 2006 21:14:31 -0000 1.2
@@ -13,4 +13,6 @@
#define _M_QUOTEDTEXT_H_
+class Profile;
+
/**
An opaque struct used by CountQuoteLevel() to store global information
@@ -78,3 +80,15 @@
QuoteData& quoteData);
+/**
+ Return only non-quoted text.
+
+ Simply drops all quoted lines from its input.
+
+ @param text the (multiline) string containing the input text
+ @param profile the profile to use for getting the options we use
+ @return multiline strings containing all non-quoted lines
+ */
+String
+GetUnquotedText(const String& text, Profile *profile);
+
#endif // _M_QUOTEDTEXT_H_
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates