Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv32023/include
Modified Files:
strutil.h
Log Message:
Don't wrap signature text
Index: strutil.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/strutil.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -b -u -2 -r1.62 -r1.63
--- strutil.h 18 Sep 2003 16:30:43 -0000 1.62
+++ strutil.h 26 Sep 2003 15:10:37 -0000 1.63
@@ -20,4 +20,6 @@
class kbStringList;
+class Profile;
+class wxRegEx;
/[EMAIL PROTECTED] String class helper functions */
@@ -355,4 +357,24 @@
ConvertUnicodeToSystem(wxString *strUtf,
wxFontEncoding utfEnc = wxFONTENCODING_UTF8);
+
+// return the length of the line terminator if we're at the end of line or 0
+// otherwise
+extern size_t IsEndOfLine(const wxChar *p);
+
+class DetectSignature
+{
+public:
+ DetectSignature();
+ ~DetectSignature();
+ bool Initialize(Profile *profile);
+ bool StartsHere(const wxChar *cptr);
+
+private:
+#if wxUSE_REGEX
+ bool m_useRE;
+ // a RE to detect the start of the signature
+ wxRegEx *m_reSig;
+#endif
+};
//@}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates