Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17524/include

Modified Files:
        Composer.h MpersIds.h 
Log Message:
added possibility to optionally reuse an existing composer when replying to the 
same message second time

Index: Composer.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Composer.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -u -2 -r1.24 -r1.25
--- Composer.h  16 Jan 2006 20:31:59 -0000      1.24
+++ Composer.h  12 Feb 2006 19:09:00 -0000      1.25
@@ -67,5 +67,10 @@
    };
 
-   /** @name Different ways to create a new composer window */
+   /**
+      @name Different ways to create a new composer window
+
+      Note that composer windows delete themselves when they're closed so you
+      don't need to delete them.
+    */
    //@{
 
@@ -81,6 +86,8 @@
       { return CreateNewArticle(MailFolder::Params(), profile); }
 
-   /** Constructor for sending a follow-up to newsgroup.
+   /**
+       Constructor for sending a follow-up to newsgroup.
 
+       @param params the parameters for the new composer
        @param profile parent profile
        @param original message that we replied to
@@ -91,5 +98,8 @@
                                           Message * original = NULL);
 
-   /** Constructor for sending mail.
+   /**
+       Constructor for sending mail.
+
+       @param params the parameters for the new composer
        @param profile parent profile
        @return pointer to the new compose view
@@ -104,4 +114,5 @@
    /** Constructor for sending a reply to a message.
 
+       @param params the parameters for the new composer
        @param profile parent profile
        @param original message that we replied to
@@ -114,6 +125,7 @@
    /** Constructor for forwarding a message.
 
-       @param templ is the template to use
+       @param params the parameters for the new composer
        @param profile parent profile
+       @param original message that we are forwarding
        @return pointer to the new compose view
     */
@@ -126,9 +138,18 @@
 
      @param profile the profile to use for the new composer
-     @param msg the message to edit
+     @param message the message to edit
      @return pointer to the new compose view
     */
    static Composer *EditMessage(Profile *profile, Message *message);
 
+   /**
+      Check if there is already a composer window opened with a reply (or
+      followup) to this message.
+
+      @param original to check for replies for
+      @return pointer to an existing composer or @c NULL if none
+    */
+   static Composer *CheckForExistingReply(Message *original);
+
    //@}
 

Index: MpersIds.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MpersIds.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -u -2 -r1.20 -r1.21
--- MpersIds.h  16 Nov 2004 00:32:59 -0000      1.20
+++ MpersIds.h  12 Feb 2006 19:09:00 -0000      1.21
@@ -120,4 +120,5 @@
 DECL_OR_DEF(REMOVE_ALL_ATTACH);
 DECL_OR_DEF(SEND_DIFF_ENCODING);
+DECL_OR_DEF(OPEN_ANOTHER_COMPOSER);
 
 DECL_OR_DEF(MAX);



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to