summaryrefslogtreecommitdiffstats
path: root/tdeabc/plugins/evolution/resourceevo.h
blob: 82bcab5cb43c1fdac35012d5ab4de04f090d6fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "resource.h"

namespace Evolution {
    class DBWrapper;
}

namespace TDEABC {
    class ResourceEvolution : public Resource {
    public:
        ResourceEvolution( const TDEConfig* config );
        ~ResourceEvolution();

        bool doOpen();
        void doClose();
        Ticket* requestSaveTicket();
        bool load();
        bool save( Ticket* ticket );
        void removeAddressee( const Addressee& );
    private:
        Evolution::DBWrapper *mWrap;
        bool m_isOpen : 1;
    };
}