|
a/src/bincimapmime/mime-inputsource.h |
|
b/src/bincimapmime/mime-inputsource.h |
|
... |
|
... |
37 |
|
37 |
|
38 |
namespace Binc {
|
38 |
namespace Binc {
|
39 |
|
39 |
|
40 |
class MimeInputSource {
|
40 |
class MimeInputSource {
|
41 |
public:
|
41 |
public:
|
|
|
42 |
// Note that we do NOT take ownership of fd, won't close it on delete
|
42 |
inline MimeInputSource(int fd, unsigned int start = 0);
|
43 |
inline MimeInputSource(int fd, unsigned int start = 0);
|
43 |
virtual inline ~MimeInputSource(void);
|
44 |
virtual inline ~MimeInputSource(void);
|
44 |
|
45 |
|
45 |
virtual inline size_t fillRaw(char *raw, size_t nbytes);
|
46 |
virtual inline size_t fillRaw(char *raw, size_t nbytes);
|
46 |
virtual inline void reset(void);
|
47 |
virtual inline void reset(void);
|
|
... |
|
... |
209 |
MimeInputSource::reset();
|
210 |
MimeInputSource::reset();
|
210 |
s.seekg(0);
|
211 |
s.seekg(0);
|
211 |
}
|
212 |
}
|
212 |
|
213 |
|
213 |
}
|
214 |
}
|
214 |
extern Binc::MimeInputSource *mimeSource;
|
|
|
215 |
|
215 |
|
216 |
#endif
|
216 |
#endif
|