schedulator: only count bugs that you were the *last* one to resolve, but
[wvapps.git] / evolution / listfolders.h
blobf265e66653a794eb365e5f762a744400b5209a79
1 #ifndef __LISTFOLDERS_H
2 #define __LISTFOLDERS_H
3 #include "exchangeitstorage.h"
4 #include "exchangeitaccount.h"
5 #include "wvstringlist.h"
6 #include "wvlog.h"
8 using namespace std;
10 class ListFolders
12 public:
13 ListFolders(ExchangeItAccount *_account, ExchangeItStorage *_storage)
14 : account(_account), storage(_storage), log("ListFolders", WvLog::Debug1) { }
15 virtual ~ListFolders() {}
17 virtual void apply_response(WvStringParm response,
18 const WvStringList &params,
19 const WvStringList &lines);
21 virtual void get_command(WvString &command,
22 WvStringList &params,
23 WvStringList &lines);
25 bool check_error(WvStringParm response, const WvStringList &params);
27 protected:
28 void apply_folders(const WvStringList &lines);
30 private:
31 ExchangeItAccount *account;
32 ExchangeItStorage *storage;
33 WvLog log;
36 #endif