summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/storemail.h
blob: 4433de0fe855bb71f904e473603783157d89b767 (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