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

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

Index: FolderPool.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/mail/FolderPool.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- FolderPool.h        2 Sep 2002 10:43:05 -0000       1.2
+++ FolderPool.h        27 May 2006 16:27:12 -0000      1.3
@@ -127,7 +127,11 @@
      @param cookie should be passed to GetNext() later
      @param driverName the name of the driver used for this folder, may be NULL
+     @param pFolder filled in with the MFolder originally specified in Add()
+                    if non-NULL; must be DecRef()'d by caller
      @return IncRef()'d pointer to an opened folder or NULL if none
     */
-   static MailFolder *GetFirst(Cookie& cookie, String *driverName = NULL);
+   static MailFolder *GetFirst(Cookie& cookie,
+                               String *driverName = NULL,
+                               MFolder **pFolder = NULL);
 
    /**
@@ -136,7 +140,10 @@
      @param cookie the same one as used with GetFirst()
      @param driverName the name of the driver used for this folder, may be NULL
+     @param pFolder same meaning as for GetFirst()
      @return IncRef()'d pointer to an opened folder or NULL if no more
     */
-   static MailFolder *GetNext(Cookie& cookie, String *driverName = NULL);
+   static MailFolder *GetNext(Cookie& cookie,
+                              String *driverName = NULL,
+                              MFolder **pFolder = 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