Switch to side-by-side view

--- a/src/internfile/mh_mail.h
+++ b/src/internfile/mh_mail.h
@@ -1,14 +1,29 @@
 #ifndef _MAIL_H_INCLUDED_
 #define _MAIL_H_INCLUDED_
-/* @(#$Id: mh_mail.h,v 1.3 2005-11-08 21:02:55 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: mh_mail.h,v 1.4 2005-11-18 13:23:46 dockes Exp $  (C) 2004 J.F.Dockes */
+
 #include "mimehandler.h"
+
 namespace Binc {
     class MimeDocument;
 }
 
-/// Translate a mail folder file into internal documents (also works
-/// for maildir files)
+/** 
+    Translate a mail folder file into internal documents (also works
+    for maildir files). This has to keep state while parsing a mail folder
+    file. 
+*/
 class MimeHandlerMail : public MimeHandler {
+ public:
+    MimeHandlerMail() : vfp(0), msgnum(0), conf(0) {}
+
+    virtual MimeHandler::Status 
+	mkDoc(RclConfig *conf, const std::string &fn, 
+	      const std::string &mtype, Rcl::Doc &docout, std::string& ipath);
+
+    virtual ~MimeHandlerMail();
+
+ private:
     void *vfp;
     int msgnum;
     RclConfig *conf;
@@ -16,12 +31,6 @@
 				   Rcl::Doc &docout);
     MimeHandler::Status processmbox(const string &fn, Rcl::Doc &docout, 
 				   string &ipath);
- public:
-    MimeHandlerMail() : vfp(0), msgnum(0), conf(0) {}
-    virtual ~MimeHandlerMail();
-    virtual MimeHandler::Status 
-	mkDoc(RclConfig *conf, const string &fn, 
-	       const string &mtype, Rcl::Doc &docout, string& ipath);
 };
 
 #endif /* _MAIL_H_INCLUDED_ */