Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv4079/include

Modified Files:
        MFCache.h 
Log Message:
allow passing NULL pointer to GetStatus() to just check if we have it cached or not

Index: MFCache.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MFCache.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- MFCache.h   16 Nov 2001 18:02:10 -0000      1.10
+++ MFCache.h   4 Jul 2002 13:49:58 -0000       1.11
@@ -58,6 +58,6 @@
 
    // query the status info: return true and fill the provided pointer with
-   // info if we have it, return false otherwise
-   bool GetStatus(const String& folderName, MailFolderStatus *status);
+   // info if we have it (and the pointer is not NULL), return false otherwise
+   bool GetStatus(const String& folderName, MailFolderStatus *status = NULL);
 
    // update the status info 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to