HEAD: rearrange things a bit so we can have a libwvbase.so, which contains
[wvapps.git] / evolution / listfolders.h
blob2c756c1375d94747c8838406fe1fc7b07752377c
1 #ifndef __LISTFOLDERS_H
2 #define __LISTFOLDERS_H
3 #include "exchangeitstorage.h"
4 #include "taggedcommand.h"
5 #include "wvstringlist.h"
6 #include "wvlog.h"
8 using namespace std;
10 class ListFolders : public TaggedCommand
12 public:
13 ListFolders(ExchangeItStorage *_storage);
14 virtual ~ListFolders() {}
16 virtual void get_command(WvString &command,
17 WvStringList &params,
18 WvStringList &lines);
20 virtual bool apply_response(WvStringList &parts,
21 WvStream &stream,
22 ExchangeItStorage *storage);
24 virtual bool check_error(WvStringParm response,
25 const WvStringList &params)
26 { return false; }
28 protected:
29 void apply_folders(const WvStringList &lines);
31 private:
32 ExchangeItStorage *storage;
33 WvLog log;
36 #endif