Switch to unified view

a/src/internfile/mh_mbox.h b/src/internfile/mh_mbox.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _MBOX_H_INCLUDED_
17
#ifndef _MBOX_H_INCLUDED_
18
#define _MBOX_H_INCLUDED_
18
#define _MBOX_H_INCLUDED_
19
/* @(#$Id: mh_mbox.h,v 1.1 2006-12-15 12:40:24 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: mh_mbox.h,v 1.2 2007-10-03 14:53:37 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
using std::string;
22
using std::string;
23
23
24
#include "mimehandler.h"
24
#include "mimehandler.h"
...
...
29
 * file. 
29
 * file. 
30
 */
30
 */
31
class MimeHandlerMbox : public RecollFilter {
31
class MimeHandlerMbox : public RecollFilter {
32
 public:
32
 public:
33
    MimeHandlerMbox(const string& mime) 
33
    MimeHandlerMbox(const string& mime) 
34
    : RecollFilter(mime), m_vfp(0), m_msgnum(0) 
34
    : RecollFilter(mime), m_vfp(0), m_msgnum(0), m_lineno(0)
35
    {}
35
    {}
36
    virtual ~MimeHandlerMbox();
36
    virtual ~MimeHandlerMbox();
37
    virtual bool set_document_file(const string &file_path);
37
    virtual bool set_document_file(const string &file_path);
38
    virtual bool next_document();
38
    virtual bool next_document();
39
    virtual bool skip_to_document(const string& ipath) {
39
    virtual bool skip_to_document(const string& ipath) {
...
...
44
 private:
44
 private:
45
    string     m_fn;     // File name
45
    string     m_fn;     // File name
46
    void      *m_vfp;    // File pointer for folder
46
    void      *m_vfp;    // File pointer for folder
47
    int        m_msgnum; // Current message number in folder. Starts at 1
47
    int        m_msgnum; // Current message number in folder. Starts at 1
48
    string     m_ipath;
48
    string     m_ipath;
49
    int        m_lineno; // debug 
49
};
50
};
50
51
51
#endif /* _MBOX_H_INCLUDED_ */
52
#endif /* _MBOX_H_INCLUDED_ */