schedulator: only count bugs that you were the *last* one to resolve, but
[wvapps.git] / evolution / exchangeitaccount.h
bloba13d234cc0b22d3df25dad789d496d96d95b7407
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Author :
4 * JP Rosevear <jpr@ximian.com>
6 * Copyright 2003, Novell, Inc.
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of version 2 of the GNU General Public
10 * License as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 * USA
23 #ifndef EXCHANGEIT_ACCOUNT_H
24 #define EXCHANGEIT_ACCOUNT_H
26 #include "wvstring.h"
27 extern "C"
29 #include <gconf/gconf-client.h>
32 #ifndef EXCHANGEIT_GCONF_DIR
33 #define EXCHANGEIT_GCONF_DIR "/apps/evolution-exchangeit"
34 #endif
36 class ExchangeItAccount
38 public:
39 ExchangeItAccount(WvStringParm server,
40 WvStringParm user,
41 WvStringParm password);
42 ExchangeItAccount(GConfClient *gconf);
44 const WvString &get_server() const { return server; }
45 const WvString &get_user() const { return user; }
46 const WvString &get_password() const { return password; }
48 void set_server(WvStringParm _server) { server = _server; }
49 void set_user(WvStringParm _user) { user = _user; }
50 void set_password(WvStringParm _password) { password = _password; }
52 void save(GConfClient *gconf);
54 private:
55 WvString server;
56 WvString user;
57 WvString password;
60 #endif