|
a/src/internfile/mh_text.h |
|
b/src/internfile/mh_text.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 _MH_TEXT_H_INCLUDED_
|
17 |
#ifndef _MH_TEXT_H_INCLUDED_
|
18 |
#define _MH_TEXT_H_INCLUDED_
|
18 |
#define _MH_TEXT_H_INCLUDED_
|
|
|
19 |
|
19 |
#include <sys/types.h>
|
20 |
#include <sys/types.h>
|
|
|
21 |
#include <stdint.h>
|
20 |
|
22 |
|
21 |
#include <string>
|
23 |
#include <string>
|
22 |
|
24 |
|
23 |
#include "mimehandler.h"
|
25 |
#include "mimehandler.h"
|
24 |
|
26 |
|
|
... |
|
... |
57 |
|
59 |
|
58 |
private:
|
60 |
private:
|
59 |
bool m_paging;
|
61 |
bool m_paging;
|
60 |
std::string m_text;
|
62 |
std::string m_text;
|
61 |
std::string m_fn;
|
63 |
std::string m_fn;
|
62 |
off_t m_offs; // Offset of next read in file if we're paging
|
64 |
int64_t m_offs; // Offset of next read in file if we're paging
|
63 |
size_t m_pagesz;
|
65 |
size_t m_pagesz;
|
64 |
std::string m_charsetfromxattr;
|
66 |
std::string m_charsetfromxattr;
|
65 |
|
67 |
|
66 |
bool readnext();
|
68 |
bool readnext();
|
67 |
};
|
69 |
};
|