Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv20744/include
Modified Files:
Composer.h MailFolder.h
Log Message:
fixed the bug with always quoting the message, even when the user chose not
to do it by adding special MailFolder::Params::NO_QUOTE value
also made Params::msgview const (and propagated constness elsewhere)
Index: Composer.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Composer.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -u -2 -r1.11 -r1.12
--- Composer.h 13 May 2002 00:27:39 -0000 1.11
+++ Composer.h 28 Jun 2002 00:43:54 -0000 1.12
@@ -195,5 +195,6 @@
@param msgview the message viewer to query for selection
*/
- virtual void InitText(Message *msg = NULL, MessageView *msgview = NULL) = 0;
+ virtual void InitText(Message *msg = NULL,
+ const MessageView *msgview = NULL) = 0;
/** Finishes the composer initialization and shows the composer frame,
Index: MailFolder.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MailFolder.h,v
retrieving revision 1.175
retrieving revision 1.176
diff -b -u -2 -r1.175 -r1.176
--- MailFolder.h 12 Jun 2002 17:58:07 -0000 1.175
+++ MailFolder.h 28 Jun 2002 00:43:54 -0000 1.176
@@ -305,6 +305,13 @@
String templ;
- /// msg viewer from which the reply/forward command originated
- MessageView *msgview;
+ /**
+ msg viewer from which the reply/forward command originated: this is
+ used only to get the selection from it for the cases when "include
+ only selected text in reply" option is on
+ */
+ const MessageView *msgview;
+
+ /// the special value for msgview meaning not to quote anything at all
+ static const MessageView *NO_QUOTE;
};
//@}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates