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

Modified Files:
        MailFolderCC.h 
Log Message:
implemented connection pool for IMAP folders


Index: MailFolderCC.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MailFolderCC.h,v
retrieving revision 1.201
retrieving revision 1.202
diff -b -u -2 -r1.201 -r1.202
--- MailFolderCC.h      27 Apr 2002 11:49:23 -0000      1.201
+++ MailFolderCC.h      27 Apr 2002 20:58:10 -0000      1.202
@@ -41,31 +41,4 @@
 // ----------------------------------------------------------------------------
 
-/// structure to hold MailFolder pointer and associated mailstream pointer
-class StreamConnection
-{
-public:
-   /// pointer to a MailFolderCC object
-   MailFolderCC    *folder;
-   /// pointer to the associated MAILSTREAM
-   MAILSTREAM   const *stream;
-   /// name of the MailFolderCC object
-   String name;
-   /// for POP3/IMAP/NNTP: login or newsgroup
-   String login;
-
-   StreamConnection()
-   {
-      folder = NULL;
-      stream = NULL;
-   }
-
-#ifdef DEBUG
-   virtual ~StreamConnection();
-#endif // DEBUG
-};
-
-KBLIST_DEFINE(StreamConnectionList, StreamConnection);
-
-
 /**
    MailFolder class, implemented with the C-client library.
@@ -289,4 +262,6 @@
    static bool IsInitialized() { return ms_CClientInitialisedFlag; }
 
+   // unused for now
+#if 0
    /**
       check whether a folder can have subfolders
@@ -295,4 +270,5 @@
                             const String &user,
                             const String &pw);
+#endif // 0
 
    /** @name Functions used by MessageCC for read progress. */
@@ -651,7 +627,4 @@
    /// a pointer to the object to use as default if lookup fails
    static MailFolderCC *ms_StreamListDefaultObj;
-
-   /// mapping MAILSTREAM* to objects of this class and their names
-   static StreamConnectionList ms_StreamList;
 
    /// adds this object to Map


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to