summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/evolution/resourceevo.h
blob: 0f5b3a0d2e45b02c4f03aaa91d61d067ba4a36ff (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 KConfig* 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;
    };
}