2001-08-01 05:11:04 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* $RCSfile: addresssettings.hxx,v $
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2006-02-28 03:38:57 -06:00
|
|
|
* $Revision: 1.8 $
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2006-02-28 03:38:57 -06:00
|
|
|
* last change: $Author: kz $ $Date: 2006-02-28 10:38:29 $
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2005-09-08 13:05:15 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
#define EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
|
|
|
|
#ifndef _RTL_USTRING_HXX_
|
|
|
|
#include <rtl/ustring.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef EXTENSIONS_ABP_ABPTYPES_HXX
|
|
|
|
#include "abptypes.hxx"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
namespace abp
|
|
|
|
{
|
|
|
|
//.........................................................................
|
|
|
|
|
|
|
|
//=====================================================================
|
|
|
|
//= AddressSourceType
|
|
|
|
//=====================================================================
|
|
|
|
enum AddressSourceType
|
|
|
|
{
|
|
|
|
AST_MORK,
|
2005-09-29 04:39:58 -05:00
|
|
|
AST_THUNDERBIRD,
|
2003-06-02 02:03:53 -05:00
|
|
|
AST_EVOLUTION,
|
2006-02-28 03:38:57 -06:00
|
|
|
AST_EVOLUTION_GROUPWISE,
|
|
|
|
AST_EVOLUTION_LDAP,
|
2005-12-19 10:27:17 -06:00
|
|
|
AST_KAB,
|
2001-08-01 05:11:04 -05:00
|
|
|
AST_LDAP,
|
|
|
|
AST_OUTLOOK,
|
|
|
|
AST_OE,
|
|
|
|
|
|
|
|
AST_OTHER,
|
|
|
|
|
|
|
|
AST_INVALID
|
|
|
|
};
|
|
|
|
|
|
|
|
//=====================================================================
|
|
|
|
//= AddressSettings
|
|
|
|
//=====================================================================
|
|
|
|
struct AddressSettings
|
|
|
|
{
|
|
|
|
AddressSourceType eType;
|
|
|
|
::rtl::OUString sDataSourceName;
|
2004-08-02 11:35:26 -05:00
|
|
|
::rtl::OUString sRegisteredDataSourceName;
|
2001-08-01 05:11:04 -05:00
|
|
|
::rtl::OUString sSelectedTable;
|
|
|
|
MapString2String aFieldMapping;
|
2004-08-02 11:35:26 -05:00
|
|
|
sal_Bool bRegisterDataSource;
|
2001-08-01 05:11:04 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
} // namespace abp
|
|
|
|
//.........................................................................
|
|
|
|
|
|
|
|
#endif // EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
|