1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
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
23 #ifndef EXCHANGEIT_ACCOUNT_H
24 #define EXCHANGEIT_ACCOUNT_H
29 #include <gconf/gconf-client.h>
32 #ifndef EXCHANGEIT_GCONF_DIR
33 #define EXCHANGEIT_GCONF_DIR "/apps/evolution-exchangeit"
36 class ExchangeItAccount
39 ExchangeItAccount(WvStringParm server
,
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
);