summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/evolution/resourceevo.h
blob: 29e163e1c4addb5c5f6e3e22384c593a856e4ab0 (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 KABC {
    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;
    };
}