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

Modified Files:
        MFolder.h MailFolder.h 
Log Message:
close all opened folders when the machine is suspended and reopen them on resume

Index: MFolder.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MFolder.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -b -u -2 -r1.61 -r1.62
--- MFolder.h   7 Jul 2005 18:48:43 -0000       1.61
+++ MFolder.h   27 May 2006 16:27:12 -0000      1.62
@@ -25,4 +25,6 @@
 #include "MObject.h"         // for MObjectRC
 
+#include "lists.h"
+
 class Profile;
 
@@ -322,4 +324,6 @@
 };
 
+M_LIST_RC_ABSTRACT(MFolderList, MFolder);
+
 // ----------------------------------------------------------------------------
 // A smart pointer to MFolder: not only it takes care of the ref count itself,

Index: MailFolder.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MailFolder.h,v
retrieving revision 1.202
retrieving revision 1.203
diff -b -u -2 -r1.202 -r1.203
--- MailFolder.h        16 Jan 2006 20:32:00 -0000      1.202
+++ MailFolder.h        27 May 2006 16:27:12 -0000      1.203
@@ -36,4 +36,5 @@
 class MessageView;
 class MFolder;
+class MFolderList;
 class MLogCircle;
 class Profile;
@@ -270,7 +271,9 @@
       Closes all currently opened folders
 
+      @param opened if non-NULL is filled with the MFolders corresponding to
+                    the folders which were closed
       @return the number of folders closed, -1 on error
     */
-   static int CloseAll();
+   static int CloseAll(MFolderList *opened = NULL);
 
    /**



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to