HEAD: rearrange things a bit so we can have a libwvbase.so, which contains
[wvapps.git] / evolution / createfolder.h
blob0ce3c9aeea2f3ec236babe04965e2131793fadd7
1 #ifndef __CREATEFOLDER_H
2 #define __CREATEFOLDER_H
3 #include <stdint.h>
4 #include "exchangeitstorage.h"
5 #include "exchangeitaccount.h"
6 #include "wvstringlist.h"
7 #include "wvlog.h"
8 #include "wvstream.h"
9 #include "taggedcommand.h"
11 class ExchangeItStorage;
13 class CreateFolder : public TaggedCommand
15 public:
16 CreateFolder(WvStringParm _folder_name,
17 WvStringParm _folder_type);
19 virtual ~CreateFolder()
20 { }
22 virtual void get_command(WvString &command,
23 WvStringList &params,
24 WvStringList &lines);
26 virtual bool apply_response(WvStringList &parts,
27 WvStream &stream,
28 ExchangeItStorage *storage);
31 virtual bool check_error(WvStringParm response,
32 const WvStringList &params)
33 { return false; }
35 private:
36 WvString folder_name;
37 WvString folder_type;
38 ExchangeItStorage *storage;
39 WvLog log;
42 #endif