Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv17385a/include
Modified Files:
ListReceiver.h
Log Message:
added ListEventReceiver::ListAll()
Index: ListReceiver.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/ListReceiver.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- ListReceiver.h 8 Oct 2002 21:26:42 -0000 1.1
+++ ListReceiver.h 14 Oct 2002 21:47:43 -0000 1.2
@@ -14,4 +14,6 @@
#define _LISTRECEIVER_H_
+class ASMailFolder;
+
#include "MEvent.h"
@@ -29,7 +31,19 @@
/**
+ Call OnListFolder() for all folders under the given one. Note that if this
+ method is used, then the path in OnListFolder() will be just the folder
+ path and not the full IMAP spec as when asmf->ListFolders() is called
+ directly (the possibility to do the latter is kept just for the backwards
+ compatibility with the code in wxSubfoldersDialog.cpp).
+
+ @param asmf the folder to list the subfolders of
+ @return true if ok, false if ListFolders() failed
+ */
+ bool ListAll(ASMailFolder *asmf);
+
+ /**
Override this method to process an mm_list() notification for one folder.
- @param path the full path to the folder
+ @param path the full path to the folder (may include IMAP spec or not)
@param delim the folder hierarchy delimiter
@param flags the attributes (combination of ASMailFolder::ATT_XXX values)
@@ -50,4 +64,6 @@
void *m_regCookie;
+ // the IMAP spec of the folder we're listing the subfolders of or empty
+ String m_specRoot;
};
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates