|
a/src/internfile/mh_mail.h |
|
b/src/internfile/mh_mail.h |
1 |
#ifndef _MAIL_H_INCLUDED_
|
1 |
#ifndef _MAIL_H_INCLUDED_
|
2 |
#define _MAIL_H_INCLUDED_
|
2 |
#define _MAIL_H_INCLUDED_
|
3 |
/* @(#$Id: mh_mail.h,v 1.1 2005-03-25 09:40:27 dockes Exp $ (C) 2004 J.F.Dockes */
|
3 |
/* @(#$Id: mh_mail.h,v 1.2 2005-03-31 10:04:07 dockes Exp $ (C) 2004 J.F.Dockes */
|
4 |
#include "mimehandler.h"
|
4 |
#include "mimehandler.h"
|
|
|
5 |
namespace Binc {
|
|
|
6 |
class MimeDocument;
|
|
|
7 |
}
|
5 |
|
8 |
|
6 |
// Code to turn a mail folder file into internal documents
|
9 |
// Code to turn a mail folder file into internal documents
|
7 |
class MimeHandlerMail : public MimeHandler {
|
10 |
class MimeHandlerMail : public MimeHandler {
|
|
|
11 |
void *vfp;
|
|
|
12 |
int msgnum;
|
8 |
RclConfig *conf;
|
13 |
RclConfig *conf;
|
|
|
14 |
MimeHandler::Status processone(const string &fn, Binc::MimeDocument& doc,
|
|
|
15 |
Rcl::Doc &docout);
|
9 |
MimeHandler::Status processone(const string &fn, Rcl::Doc &docout);
|
16 |
MimeHandler::Status processmbox(const string &fn, Rcl::Doc &docout,
|
|
|
17 |
string &ipath);
|
10 |
public:
|
18 |
public:
|
11 |
MimeHandlerMail() : conf(0) {}
|
19 |
MimeHandlerMail() : vfp(0), msgnum(0), conf(0) {}
|
|
|
20 |
virtual ~MimeHandlerMail();
|
12 |
virtual MimeHandler::Status
|
21 |
virtual MimeHandler::Status
|
13 |
worker(RclConfig *conf, const string &fn,
|
22 |
worker(RclConfig *conf, const string &fn,
|
14 |
const string &mtype, Rcl::Doc &docout, string& ipath);
|
23 |
const string &mtype, Rcl::Doc &docout, string& ipath);
|
15 |
};
|
24 |
};
|
16 |
#endif /* _MAIL_H_INCLUDED_ */
|
25 |
#endif /* _MAIL_H_INCLUDED_ */
|