summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/storemail.h
blob: e449f579cda4e27a5031076ecad098af912df283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __STORE_MAIL_H
#define __STORE_MAIL_H

//#include <qpe/applnk.h>

#include "generatemail.h"

class Account;
class Mail;
class AbstractMail;

class Storemail : public Generatemail
{
    Q_OBJECT
public:
    Storemail(Account*aAccount,const QString&aFolder);
    Storemail(const QString&dir,const QString&aFolder);
    Storemail(const QString&aFolder);
    virtual ~Storemail();

    int storeMail(const Opie::Core::OSmartPointer<Mail>&mail);

protected:
    Account* m_Account;
    QString m_tfolder;
    AbstractMail*wrapper;
};

#endif