Switch to side-by-side view

--- a/src/internfile/mh_mail.h
+++ b/src/internfile/mh_mail.h
@@ -1,14 +1,23 @@
 #ifndef _MAIL_H_INCLUDED_
 #define _MAIL_H_INCLUDED_
-/* @(#$Id: mh_mail.h,v 1.1 2005-03-25 09:40:27 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: mh_mail.h,v 1.2 2005-03-31 10:04:07 dockes Exp $  (C) 2004 J.F.Dockes */
 #include "mimehandler.h"
+namespace Binc {
+    class MimeDocument;
+}
 
 // Code to turn a mail folder file into internal documents
 class MimeHandlerMail : public MimeHandler {
+    void *vfp;
+    int msgnum;
     RclConfig *conf;
-    MimeHandler::Status processone(const string &fn, Rcl::Doc &docout);
+    MimeHandler::Status processone(const string &fn, Binc::MimeDocument& doc,
+				   Rcl::Doc &docout);
+    MimeHandler::Status processmbox(const string &fn, Rcl::Doc &docout, 
+				   string &ipath);
  public:
-    MimeHandlerMail() : conf(0) {}
+    MimeHandlerMail() : vfp(0), msgnum(0), conf(0) {}
+    virtual ~MimeHandlerMail();
     virtual MimeHandler::Status 
 	worker(RclConfig *conf, const string &fn, 
 	       const string &mtype, Rcl::Doc &docout, string& ipath);