Handle the EINTR error when doing a waitpid() in wvmagicloopback.
[wvapps.git] / evolution / setacl.h
blobf03bdbba353db3fef9d2a8af6cd46fbbdc37d9ec
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: s; c-basic-offset: 4 -*- */
2 /*
3 * Authors : Patrick Patterson <ppatters@nit.ca>
4 * Peter Colijn <pcolijn@nit.ca>
5 * Scott MacLean <scott@nit.ca>
6 * William Lachance <wlach@nit.ca>
8 * Copyright 2003-2004, Net Integration Technologies, Inc.
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of version 2 of the GNU General Public
12 * License as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 * USA
25 #ifndef __SETACL_H
26 #define __SETACL_H
28 #include "taggedcommand.h"
29 #include "uniconf.h"
30 #include "wvstringlist.h"
31 #include "wvlog.h"
32 #include "wvstream.h"
34 class ExchangeItStorage;
36 class SetACL : public TaggedCommand
38 public:
39 SetACL(WvStringParm _folder_name, WvStringParm _folder_type,
40 ExchangeItStorage *_storage);
42 virtual void get_command(WvString &command,
43 WvStringList &params,
44 WvStringList &lines);
46 virtual bool apply_response(WvStringList &parts,
47 WvStream &stream,
48 ExchangeItStorage *storage);
50 virtual bool check_error(WvStringParm response,
51 const WvStringList &params)
52 { return false; }
54 private:
55 WvString folder_name;
56 WvString folder_type;
57 ExchangeItStorage *storage;
58 WvLog log;
61 #endif