2010-10-27 06:45:03 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2001-08-01 05:11:04 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* OpenOffice.org 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 version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
2008-04-11 03:25:15 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2001-08-01 05:11:04 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
#define EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
|
|
|
|
#include <rtl/ustring.hxx>
|
|
|
|
#include "abptypes.hxx"
|
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
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,
|
2007-09-13 12:01:49 -05:00
|
|
|
AST_MACAB,
|
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;
|
2008-03-06 11:37:47 -06:00
|
|
|
bool bIgnoreNoTable;
|
2001-08-01 05:11:04 -05:00
|
|
|
MapString2String aFieldMapping;
|
2008-03-06 11:37:47 -06:00
|
|
|
bool bRegisterDataSource;
|
2001-08-01 05:11:04 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
//.........................................................................
|
|
|
|
} // namespace abp
|
|
|
|
//.........................................................................
|
|
|
|
|
|
|
|
#endif // EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
|
|
|
|
|
2010-10-27 06:45:03 -05:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|