[Libreoffice-commits] .: Branch 'feature/gbuild_conversions' - 4 commits - configure.in connectivity/Library_odbcbase.mk connectivity/Library_odbc.mk connectivity/prj connectivity/source dbaccess/Library_dbui.mk dbaccess/Library_dbu.mk RepositoryExternal.mk slideshow/Library_OGLTrans.mk unixODBC/Module_unixODBC.mk
Matus Kukan
mkukan at kemper.freedesktop.org
Sat Apr 7 05:16:13 PDT 2012
RepositoryExternal.mk | 74 ++--
configure.in | 1
connectivity/Library_odbc.mk | 6
connectivity/Library_odbcbase.mk | 6
connectivity/prj/build.lst | 2
connectivity/source/drivers/ado/AKeyColumn.cxx | 69 ----
connectivity/source/drivers/ado/AKeyColumns.cxx | 95 -----
connectivity/source/inc/adabas/BCatalog.hxx | 79 ----
connectivity/source/inc/adabas/BColumn.hxx | 56 ---
connectivity/source/inc/adabas/BColumns.hxx | 63 ---
connectivity/source/inc/adabas/BConnection.hxx | 80 ----
connectivity/source/inc/adabas/BDatabaseMetaData.hxx | 57 ---
connectivity/source/inc/adabas/BDriver.hxx | 178 ----------
connectivity/source/inc/adabas/BGroup.hxx | 52 ---
connectivity/source/inc/adabas/BGroups.hxx | 68 ----
connectivity/source/inc/adabas/BIndex.hxx | 60 ---
connectivity/source/inc/adabas/BIndexColumn.hxx | 60 ---
connectivity/source/inc/adabas/BIndexColumns.hxx | 60 ---
connectivity/source/inc/adabas/BIndexes.hxx | 60 ---
connectivity/source/inc/adabas/BKeys.hxx | 57 ---
connectivity/source/inc/adabas/BPreparedStatement.hxx | 54 ---
connectivity/source/inc/adabas/BResultSet.hxx | 62 ---
connectivity/source/inc/adabas/BResultSetMetaData.hxx | 59 ---
connectivity/source/inc/adabas/BStatement.hxx | 62 ---
connectivity/source/inc/adabas/BTable.hxx | 112 ------
connectivity/source/inc/adabas/BTables.hxx | 82 ----
connectivity/source/inc/adabas/BUser.hxx | 84 -----
connectivity/source/inc/adabas/BUsers.hxx | 68 ----
connectivity/source/inc/adabas/BViews.hxx | 66 ---
connectivity/source/inc/ado/AIndexColumns.hxx | 57 ---
dbaccess/Library_dbu.mk | 3
dbaccess/Library_dbui.mk | 301 ------------------
slideshow/Library_OGLTrans.mk | 2
unixODBC/Module_unixODBC.mk | 7
34 files changed, 61 insertions(+), 2141 deletions(-)
New commits:
commit bfe3eb3696b4c0d0ea70c181e59888b02b792d64
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Sat Apr 7 14:09:40 2012 +0200
connectivity: remove unused adabas files
diff --git a/connectivity/source/drivers/ado/AKeyColumn.cxx b/connectivity/source/drivers/ado/AKeyColumn.cxx
deleted file mode 100644
index d1d8d52..0000000
--- a/connectivity/source/drivers/ado/AKeyColumn.cxx
+++ /dev/null
@@ -1,69 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-
-#include "adabas/BKeyColumn.hxx"
-
-using namespace connectivity::adabas;
-namespace starbeans = ::com::sun::star::beans;
-// -------------------------------------------------------------------------
-OKeyColumn::OKeyColumn() : OColumn()
-{
- construct();
-}
-// -------------------------------------------------------------------------
-OKeyColumn::OKeyColumn( const ::rtl::OUString& _ReferencedColumn,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement
- ) : OColumn(_Name,
- _TypeName,
- _DefaultValue,
- _IsNullable,
- _Precision,
- _Scale,
- _Type,
- _IsAutoIncrement)
- , m_ReferencedColumn(_ReferencedColumn)
-{
- construct();
-}
-
-// -------------------------------------------------------------------------
-void OKeyColumn::construct()
-{
- sal_Int32 nAttrib = isNew() ? 0 : starbeans::PropertyAttribute::READONLY;
- registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_RELATEDCOLUMN), PROPERTY_ID_RELATEDCOLUMN, nAttrib,&m_ReferencedColumn, ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL)));
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/ado/AKeyColumns.cxx b/connectivity/source/drivers/ado/AKeyColumns.cxx
deleted file mode 100644
index 4dea06a..0000000
--- a/connectivity/source/drivers/ado/AKeyColumns.cxx
+++ /dev/null
@@ -1,95 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#include "adabas/BKeyColumns.hxx"
-#include "adabas/BKeyColumn.hxx"
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
-#include "adabas/BTable.hxx"
-
-using namespace connectivity::adabas;
-// -------------------------------------------------------------------------
-sdbcx::ObjectType OKeyColumns::createObject(const ::rtl::OUString& _rName)
-{
-
- Reference< starsdbc::XResultSet >
- xResult = m_pTable->getConnection()->getMetaData()->getImportedKeys(Any(),
- m_pTable->getSchema(),m_pTable->getName());
-
- ::rtl::OUString aRefColumnName;
- if(xResult.is())
- {
- Reference< starsdbc::XRow > xRow(xResult,UNO_QUERY);
- while(xResult->next())
- {
- if(xRow->getString(8) == _rName)
- {
- aRefColumnName = xRow->getString(4);
- break;
- }
- }
- }
-
- xResult = m_pTable->getConnection()->getMetaData()->getColumns(Any(),
- m_pTable->getSchema(),m_pTable->getName(),_rName);
-
- sdbcx::ObjectType xRet = NULL;
- if(xResult.is())
- {
- Reference< starsdbc::XRow > xRow(xResult,UNO_QUERY);
- if(xResult->next())
- {
- if(xRow->getString(4) == _rName)
- {
- OKeyColumn* pRet = new OKeyColumn(aRefColumnName,
- _rName,
- xRow->getString(6),
- xRow->getString(13),
- xRow->getInt(11),
- xRow->getInt(7),
- xRow->getInt(9),
- xRow->getInt(5),
- sal_False);
- xRet = pRet;
- }
- }
- }
-
- return xRet;
-}
-// -------------------------------------------------------------------------
-Reference< XPropertySet > OKeyColumns::createDescriptor()
-{
- OKeyColumn* pNew = new OKeyColumn();
- return pNew;
-}
-// -------------------------------------------------------------------------
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BCatalog.hxx b/connectivity/source/inc/adabas/BCatalog.hxx
deleted file mode 100644
index af411b8..0000000
--- a/connectivity/source/inc/adabas/BCatalog.hxx
+++ /dev/null
@@ -1,79 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _CONNECTIVITY_ADABAS_CATALOG_HXX_
-#define _CONNECTIVITY_ADABAS_CATALOG_HXX_
-
-#include "connectivity/sdbcx/VCatalog.hxx"
-#include "odbc/OFunctiondefs.hxx"
-#include "connectivity/StdTypeDefs.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- // please don't name the class the same name as in an other namespaces
- // some compilers have problems with this task as I noticed on windows
- class OAdabasConnection;
- class OAdabasCatalog : public connectivity::sdbcx::OCatalog
- {
- OAdabasConnection* m_pConnection; // used to get the metadata
- SQLHANDLE m_aConnectionHdl; // used for odbc specific stuff
-
- void fillVector(const ::rtl::OUString& _sQuery,TStringVector& _rVector);
-
- protected:
- /** builds the name which should be used to access the object later on in the collection.
- Will only be called in fillNames.
- @param _xRow
- The cuurent row from a call of XDatabaseMetaData::getTables.
- */
- virtual ::rtl::OUString buildName( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRow >& _xRow);
- public:
- // implementation of the pure virtual methods
- virtual void refreshTables();
- virtual void refreshViews() ;
- virtual void refreshGroups();
- virtual void refreshUsers() ;
-
- public:
- OAdabasCatalog(SQLHANDLE _aConnectionHdl,OAdabasConnection* _pCon);
-
- OAdabasConnection* getConnection() const { return m_pConnection; }
- sdbcx::OCollection* getPrivateTables() const { return m_pTables;}
- sdbcx::OCollection* getPrivateViews() const { return m_pViews; }
-
- static const ::rtl::OUString& getDot();
- // correct the the column properties of float/real/double values
- // all & parameters are IN and OUT
- static void correctColumnProperties(sal_Int32 _nPrec, sal_Int32& _rnType,::rtl::OUString& _rsTypeName);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_CATALOG_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BColumn.hxx b/connectivity/source/inc/adabas/BColumn.hxx
deleted file mode 100644
index 34afc90..0000000
--- a/connectivity/source/inc/adabas/BColumn.hxx
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_COLUMN_HXX_
-#define _CONNECTIVITY_ADABAS_COLUMN_HXX_
-
-#include "connectivity/sdbcx/VColumn.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasColumn : public sdbcx::OColumn
- {
- public:
- OAdabasColumn();
- OAdabasColumn(const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement);
-
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_COLUMN_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BColumns.hxx b/connectivity/source/inc/adabas/BColumns.hxx
deleted file mode 100644
index 40eadf3..0000000
--- a/connectivity/source/inc/adabas/BColumns.hxx
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_COLUMNS_HXX_
-#define _CONNECTIVITY_ADABAS_COLUMNS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-#include "connectivity/sdbcx/IRefreshable.hxx"
-#include "adabas/BTable.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OColumns : public sdbcx::OCollection
- {
- protected:
- OAdabasTable* m_pTable;
-
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
- public:
- OColumns( OAdabasTable* _pTable,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector
- ) : sdbcx::OCollection(*_pTable,sal_True,_rMutex,_rVector)
- ,m_pTable(_pTable)
- {}
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_COLUMNS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BConnection.hxx b/connectivity/source/inc/adabas/BConnection.hxx
deleted file mode 100644
index afa5cc3..0000000
--- a/connectivity/source/inc/adabas/BConnection.hxx
+++ /dev/null
@@ -1,80 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _CONNECTIVITY_ADABAS_BCONNECTION_HXX_
-#define _CONNECTIVITY_ADABAS_BCONNECTION_HXX_
-
-#include <cppuhelper/compbase2.hxx>
-#include "odbc/OConnection.hxx"
-#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
-#include <cppuhelper/weakref.hxx>
-#include <rtl/ref.hxx>
-
-namespace connectivity
-{
- namespace odbc
- {
- class ODBCDriver;
- }
- namespace adabas
- {
- typedef connectivity::odbc::OConnection OConnection_BASE2;
-
- // we must use the name "OAdabasConnection" because of a compiler bug
-
- class OAdabasConnection : public OConnection_BASE2
- {
- ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbcx::XTablesSupplier> m_xCatalog;
-
- protected:
- virtual SQLRETURN openConnectionWithAuth(const ::rtl::OUString& aConnectStr,sal_Int32 nTimeOut, const ::rtl::OUString& _uid,const ::rtl::OUString& _pwd);
- virtual connectivity::odbc::OConnection* cloneConnection(); // creates a new connection
- public:
- virtual SQLRETURN Construct( const ::rtl::OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) throw(::com::sun::star::sdbc::SQLException);
-
- OAdabasConnection(const SQLHANDLE _pDriverHandle,connectivity::odbc::ODBCDriver* _pDriver);
-
- // OComponentHelper;
- virtual void SAL_CALL disposing();
-
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XTablesSupplier > createCatalog();
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
-
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement > SAL_CALL createStatement( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareStatement( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
-
- //XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw (::com::sun::star::uno::RuntimeException);
- static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
-
- ::rtl::Reference<OSQLColumns> createSelectColumns(const ::rtl::OUString& _rSql);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_BCONNECTION_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BDatabaseMetaData.hxx b/connectivity/source/inc/adabas/BDatabaseMetaData.hxx
deleted file mode 100644
index b605510..0000000
--- a/connectivity/source/inc/adabas/BDatabaseMetaData.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#include "odbc/ODatabaseMetaData.hxx"
-
-namespace connectivity
-{
- namespace odbc
- {
- class OConnection;
- }
- namespace adabas
- {
- typedef odbc::ODatabaseMetaData OAdabasDatabaseMetaData_BASE;
-
- class OAdabasDatabaseMetaData : public OAdabasDatabaseMetaData_BASE
- {
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > impl_getTypeInfo_throw();
- public:
- OAdabasDatabaseMetaData(const SQLHANDLE _pHandle,odbc::OConnection* _pCon)
- : ODatabaseMetaData(_pHandle,_pCon)
- {
- }
-
- // just to return our url
- virtual ::rtl::OUString SAL_CALL getURL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL supportsIntegrityEnhancementFacility( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BDriver.hxx b/connectivity/source/inc/adabas/BDriver.hxx
deleted file mode 100644
index 82cbc05..0000000
--- a/connectivity/source/inc/adabas/BDriver.hxx
+++ /dev/null
@@ -1,178 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_BDRIVER_HXX_
-#define _CONNECTIVITY_ADABAS_BDRIVER_HXX_
-
-#include <com/sun/star/sdbc/XDriver.hpp>
-#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
-#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
-#include <com/sun/star/sdbcx/XCreateCatalog.hpp>
-#include <com/sun/star/sdbcx/XDropCatalog.hpp>
-
-#include <com/sun/star/lang/XEventListener.hpp>
-
-#include <cppuhelper/implbase4.hxx>
-#include "odbc/OFunctiondefs.hxx"
-#include "odbc/ODriver.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ODriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception );
-
- typedef ::cppu::ImplHelper4< ::com::sun::star::sdbcx::XCreateCatalog,
- ::com::sun::star::sdbcx::XDataDefinitionSupplier,
- ::com::sun::star::lang::XEventListener,
- ::com::sun::star::sdbcx::XDropCatalog> ODriver_BASE2;
-
- typedef odbc::ODBCDriver ODriver_BASE;
-
- class ODriver : public ODriver_BASE,
- public ODriver_BASE2
- {
- typedef struct DatabaseStruct
- {
- ::rtl::OUString sControlUser;
- ::rtl::OUString sControlPassword;
- ::rtl::OUString sSysUser;
- ::rtl::OUString sSysPassword;
- ::rtl::OUString sDomainPassword;
- ::rtl::OUString sCacheSize;
- ::rtl::OUString sBackupFile;
- ::rtl::OUString sDataDevName;
- ::rtl::OUString sSysDevSpace;
- ::rtl::OUString sTransLogName;
- ::rtl::OUString sDBName;
- sal_Int32 nDataIncrement; // which size the database should grow
- sal_Int32 nDataSize;
- sal_Int32 nLogSize;
- sal_Bool bShutDown;
- sal_Bool bRestoreDatabase;
-
- DatabaseStruct() : nDataIncrement(0),nDataSize(0),nLogSize(0),bShutDown(sal_False),bRestoreDatabase(sal_False){ }
- } TDatabaseStruct;
-
- DECLARE_STL_USTRINGACCESS_MAP(TDatabaseStruct,TDatabaseMap);
- TDatabaseMap m_aDatabaseMap; // contains all adabas databases with their flag to shut down or not
-
- // environment vars
- ::rtl::OUString m_sDbWork;
- ::rtl::OUString m_sDbConfig;
- ::rtl::OUString m_sDbRoot;
- ::rtl::OUString m_sDbWorkURL;
- ::rtl::OUString m_sDbConfigURL;
- ::rtl::OUString m_sDbRootURL;
- ::rtl::OUString m_sDbRunDir;
- ::rtl::OUString m_sDelimit;
-
- void checkAndInsertNewDevSpace(const ::rtl::OUString& _rDBName,const TDatabaseStruct& _rDBInfo);
- void checkAndRestart(const ::rtl::OUString& _rDBName,const TDatabaseStruct& _rDbInfo);
- void X_CONS(const ::rtl::OUString& _DBNAME,const ::rtl::OString& _ACTION,const ::rtl::OUString& _FILENAME);
- sal_Bool getDBName(const ::rtl::OUString& _rName,::rtl::OUString& _rDBName) const;
- ::rtl::OUString getDatabaseInitFile( const TDatabaseStruct& _aInfo);
- ::rtl::OUString generateInitFile() const;
- void fillEnvironmentVariables();
- void fillInfo(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info, TDatabaseStruct& _rDBInfo /*out*/);
- void LoadBatch(const ::rtl::OUString& _rDBNAME,
- const ::rtl::OUString& _rUSR,
- const ::rtl::OUString& _rPWD,
- const ::rtl::OUString& _rBatch);
- void XUTIL(const ::rtl::OUString& _rParam,
- const ::rtl::OUString& _DBNAME,
- const ::rtl::OUString& _USRNAME,
- const ::rtl::OUString& _USRPWD);
- int X_STOP(const ::rtl::OUString& _DBNAME);
- int X_START(const ::rtl::OUString& _DBNAME);
- void createDb(const TDatabaseStruct& _aInfo);
- void clearDatabase(const ::rtl::OUString& _rDBName);
- int X_PARAM(const ::rtl::OUString& _DBNAME,
- const ::rtl::OUString& _USR,
- const ::rtl::OUString& _PWD,
- const ::rtl::OUString& _CMD);
- sal_Int32 CreateFiles(const TDatabaseStruct& _aInfo);
- sal_Bool CreateFile(const ::rtl::OUString &_FileName,
- sal_Int32 _nSize);
- void PutParam(const ::rtl::OUString& rDBNAME,
- const ::rtl::OUString& rWhat,
- const ::rtl::OUString& rHow);
- void createNeededDirs( const ::rtl::OUString& _rDBName);
- sal_Bool isKernelVersion(const char* _pVersion);
- sal_Bool isVersion( const ::rtl::OUString& _rDBName,
- const char* _pVersion);
-
- void convertOldVersion( const ::rtl::OUString& _rDBName,
- const TDatabaseStruct& _rDbInfo);
-
- void installSystemTables( const TDatabaseStruct& _aInfo);
-
- protected:
- virtual SQLHANDLE EnvironmentHandle(::rtl::OUString &_rPath);
- virtual ~ODriver();
- public:
- explicit ODriver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
-
- // XInterface
- static ::rtl::OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException);
- static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static( ) throw (::com::sun::star::uno::RuntimeException);
- private:
- DECLARE_SERVICE_INFO();
-
- virtual oslGenericFunction getOdbcFunction(sal_Int32 _nIndex) const;
- // OComponentHelper
- virtual void SAL_CALL disposing(void);
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL acquire() throw();
- virtual void SAL_CALL release() throw();
-
- // XDriver
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connect( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL acceptsURL( const ::rtl::OUString& url ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getMajorVersion( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getMinorVersion( ) throw(::com::sun::star::uno::RuntimeException);
-
- // XDataDefinitionSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& connection ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
-
- // XCreateCatalog
- virtual void SAL_CALL createCatalog( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException);
- // XDropCatalog
- virtual void SAL_CALL dropCatalog( const ::rtl::OUString& catalogName, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
- // XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException);
- };
- }
-
-}
-#endif //_CONNECTIVITY_ADABAS_BDRIVER_HXX_
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BGroup.hxx b/connectivity/source/inc/adabas/BGroup.hxx
deleted file mode 100644
index 29a0486..0000000
--- a/connectivity/source/inc/adabas/BGroup.hxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_GROUP_HXX_
-#define _CONNECTIVITY_ADABAS_GROUP_HXX_
-
-#include "connectivity/sdbcx/VGroup.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasConnection;
- class OAdabasGroup : public sdbcx::OGroup
- {
- OAdabasConnection* m_pConnection;
- public:
- virtual void refreshUsers();
- public:
- OAdabasGroup( OAdabasConnection* _pConnection);
- OAdabasGroup( OAdabasConnection* _pConnection,const ::rtl::OUString& _Name);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_GROUP_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BGroups.hxx b/connectivity/source/inc/adabas/BGroups.hxx
deleted file mode 100644
index 7989aaa..0000000
--- a/connectivity/source/inc/adabas/BGroups.hxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_GROUPS_HXX_
-#define _CONNECTIVITY_ADABAS_GROUPS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-namespace connectivity
-{
- namespace sdbcx
- {
- class IRefreshableGroups;
- }
- namespace adabas
- {
- class OAdabasConnection;
- class OGroups : public sdbcx::OCollection
- {
- protected:
- OAdabasConnection* m_pConnection;
- connectivity::sdbcx::IRefreshableGroups* m_pParent;
-
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
- public:
- OGroups(::cppu::OWeakObject& _rParent,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector,
- OAdabasConnection* _pConnection,
- connectivity::sdbcx::IRefreshableGroups* _pParent) : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
- ,m_pConnection(_pConnection)
- ,m_pParent(_pParent)
- {}
- };
- }
-}
-
-#endif // _CONNECTIVITY_ADABAS_GROUPS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BIndex.hxx b/connectivity/source/inc/adabas/BIndex.hxx
deleted file mode 100644
index d089d0b..0000000
--- a/connectivity/source/inc/adabas/BIndex.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_INDEX_HXX_
-#define _CONNECTIVITY_ADABAS_INDEX_HXX_
-
-#include "connectivity/sdbcx/VIndex.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasTable;
- class OAdabasIndex : public sdbcx::OIndex
- {
- OAdabasTable* m_pTable;
- public:
- virtual void refreshColumns();
- public:
- OAdabasIndex(OAdabasTable* _pTable);
- OAdabasIndex( OAdabasTable* _pTable,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _Catalog,
- sal_Bool _isUnique,
- sal_Bool _isPrimaryKeyIndex,
- sal_Bool _isClustered
- );
- OAdabasTable* getTable() const { return m_pTable; }
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_INDEX_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BIndexColumn.hxx b/connectivity/source/inc/adabas/BIndexColumn.hxx
deleted file mode 100644
index 9b51505..0000000
--- a/connectivity/source/inc/adabas/BIndexColumn.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-#define _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-
-#include "adabas/BColumn.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OIndexColumn : public OAdabasColumn
- {
- protected:
- sal_Bool m_IsAscending;
- public:
- OIndexColumn();
- OIndexColumn( sal_Bool _IsAscending,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _TypeName,
- const ::rtl::OUString& _DefaultValue,
- sal_Int32 _IsNullable,
- sal_Int32 _Precision,
- sal_Int32 _Scale,
- sal_Int32 _Type,
- sal_Bool _IsAutoIncrement);
-
- virtual void construct();
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BIndexColumns.hxx b/connectivity/source/inc/adabas/BIndexColumns.hxx
deleted file mode 100644
index 80274d0..0000000
--- a/connectivity/source/inc/adabas/BIndexColumns.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-#define _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-#include "adabas/BIndex.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OIndexColumns : public sdbcx::OCollection
- {
- OAdabasIndex* m_pIndex;
- protected:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- public:
- OIndexColumns( OAdabasIndex* _pIndex,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector)
- : sdbcx::OCollection(*_pIndex,sal_True,_rMutex,_rVector)
- ,m_pIndex(_pIndex)
- {
- }
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BIndexes.hxx b/connectivity/source/inc/adabas/BIndexes.hxx
deleted file mode 100644
index 451e4ef..0000000
--- a/connectivity/source/inc/adabas/BIndexes.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _CONNECTIVITY_ADABAS_INDEXES_HXX_
-#define _CONNECTIVITY_ADABAS_INDEXES_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-#include "adabas/BTable.hxx"
-namespace connectivity
-{
- namespace adabas
- {
- class OIndexes : public sdbcx::OCollection
- {
- OAdabasTable* m_pTable;
- protected:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
- public:
- OIndexes(OAdabasTable* _pTable,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector
- ) : sdbcx::OCollection(*_pTable,sal_True,_rMutex,_rVector)
- ,m_pTable(_pTable)
- {}
- };
- }
-}
-
-#endif // _CONNECTIVITY_ADABAS_INDEXES_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BKeys.hxx b/connectivity/source/inc/adabas/BKeys.hxx
deleted file mode 100644
index 1ba5f93..0000000
--- a/connectivity/source/inc/adabas/BKeys.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_KEYS_HXX_
-#define _CONNECTIVITY_ADABAS_KEYS_HXX_
-
-#include "connectivity/TKeys.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-#include "adabas/BTable.hxx"
-namespace connectivity
-{
- namespace adabas
- {
- class OKeys : public OKeysHelper
- {
- protected:
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
-
- virtual ::rtl::OUString getDropForeignKey() const;
- public:
- OKeys(OAdabasTable* _pTable,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector
- ) : OKeysHelper(_pTable,_rMutex,_rVector)
- {}
- };
- }
-}
-
-#endif // _CONNECTIVITY_ADABAS_KEYS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BPreparedStatement.hxx b/connectivity/source/inc/adabas/BPreparedStatement.hxx
deleted file mode 100644
index c74bf3a..0000000
--- a/connectivity/source/inc/adabas/BPreparedStatement.hxx
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef CONNECTIVITY_ADABAS_PREPAREDSTATEMENT_HXX
-#define CONNECTIVITY_ADABAS_PREPAREDSTATEMENT_HXX
-
-#include "odbc/OPreparedStatement.hxx"
-#include "adabas/BConnection.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasPreparedStatement : public ::connectivity::odbc::OPreparedStatement
- {
- ::rtl::Reference<OSQLColumns> m_aSelectColumns;
- protected:
- virtual odbc::OResultSet* createResulSet();
- virtual void setResultSetConcurrency(sal_Int32 _par0) ;
- virtual void setResultSetType(sal_Int32 _par0) ;
- virtual void setUsingBookmarks(sal_Bool _bUseBookmark) ;
- public:
- OAdabasPreparedStatement( OAdabasConnection* _pConnection,const ::rtl::OUString& sql);
- };
- }
-}
-
-#endif // CONNECTIVITY_ADABAS_PREPAREDSTATEMENT_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BResultSet.hxx b/connectivity/source/inc/adabas/BResultSet.hxx
deleted file mode 100644
index 95a9a41..0000000
--- a/connectivity/source/inc/adabas/BResultSet.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef CONNECTIVITY_ADABAS_RESULTSET_HXX
-#define CONNECTIVITY_ADABAS_RESULTSET_HXX
-
-#include "odbc/OResultSet.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasResultSet : public ::connectivity::odbc::OResultSet
- {
- ::rtl::Reference<OSQLColumns> m_aSelectColumns;
- public:
- OAdabasResultSet(SQLHANDLE _pStatementHandle,::connectivity::odbc::OStatement_Base* pStmt,const ::rtl::Reference<OSQLColumns>& _rSelectColumns)
- : ::connectivity::odbc::OResultSet( _pStatementHandle,pStmt)
- ,m_aSelectColumns(_rSelectColumns)
- {}
-
- // XResultSetMetaDataSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
-
- virtual sal_Bool SAL_CALL next( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL first( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL last( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL previous( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL refreshRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-}
-
-#endif // CONNECTIVITY_ADABAS_RESULTSET_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BResultSetMetaData.hxx b/connectivity/source/inc/adabas/BResultSetMetaData.hxx
deleted file mode 100644
index bf7e8f3..0000000
--- a/connectivity/source/inc/adabas/BResultSetMetaData.hxx
+++ /dev/null
@@ -1,59 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef CONNECTIVITY_ADABAS_RESULTSETMETADATA_HXX
-#define CONNECTIVITY_ADABAS_RESULTSETMETADATA_HXX
-
-#include "odbc/OResultSetMetaData.hxx"
-#include <rtl/ref.hxx>
-
-namespace connectivity
-{
- namespace adabas
- {
- //**************************************************************
- //************ Class: ResultSetMetaData
- //**************************************************************
-
- typedef odbc::OResultSetMetaData OAdabasResultSetMetaData_BASE;
- class OAdabasResultSetMetaData : public OAdabasResultSetMetaData_BASE
- {
- ::rtl::Reference<OSQLColumns> m_aSelectColumns;
- public:
- // a Constructor, that is needed for when Returning the Object is needed:
- OAdabasResultSetMetaData(odbc::OConnection* _pConnection, SQLHANDLE _pStmt ,const ::rtl::Reference<OSQLColumns>& _rSelectColumns);
- virtual ~OAdabasResultSetMetaData();
-
- virtual sal_Int32 SAL_CALL getColumnType( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL isNullable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-}
-#endif // CONNECTIVITY_ADABAS_RESULTSETMETADATA_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BStatement.hxx b/connectivity/source/inc/adabas/BStatement.hxx
deleted file mode 100644
index 6f92bac..0000000
--- a/connectivity/source/inc/adabas/BStatement.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef CONNECTIVITY_ADABAS_STATEMENT_HXX
-#define CONNECTIVITY_ADABAS_STATEMENT_HXX
-
-#include "odbc/OStatement.hxx"
-#include "adabas/BConnection.hxx"
-#include "connectivity/CommonTools.hxx"
-#include <rtl/ref.hxx>
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasStatement : public ::connectivity::odbc::OStatement
- {
- OAdabasConnection* m_pOwnConnection;
- ::rtl::Reference<OSQLColumns> m_aSelectColumns;
- protected:
- virtual odbc::OResultSet* createResulSet();
- virtual void setResultSetConcurrency(sal_Int32 _par0);
- virtual void setResultSetType(sal_Int32 _par0) ;
- virtual void setUsingBookmarks(sal_Bool _bUseBookmark);
- public:
- OAdabasStatement( OAdabasConnection* _pConnection)
- : ::connectivity::odbc::OStatement( _pConnection )
- ,m_pOwnConnection(_pConnection)
- {}
-
- virtual sal_Bool SAL_CALL execute( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
- }
-}
-
-#endif // CONNECTIVITY_ADABAS_STATEMENT_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BTable.hxx b/connectivity/source/inc/adabas/BTable.hxx
deleted file mode 100644
index 7dde9b6..0000000
--- a/connectivity/source/inc/adabas/BTable.hxx
+++ /dev/null
@@ -1,112 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_TABLE_HXX_
-#define _CONNECTIVITY_ADABAS_TABLE_HXX_
-
-#include "connectivity/sdbcx/VTable.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-#include "adabas/BConnection.hxx"
-#include "connectivity/TTableHelper.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- typedef connectivity::OTableHelper OTable_TYPEDEF;
-
- ::rtl::OUString getTypeString(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xColProp);
-
- class OAdabasTable : public OTableHelper
- {
- OAdabasConnection* m_pConnection;
- protected:
- /** creates the column collection for the table
- @param _rNames
- The column names.
- */
- virtual sdbcx::OCollection* createColumns(const TStringVector& _rNames);
-
- /** creates the key collection for the table
- @param _rNames
- The key names.
- */
- virtual sdbcx::OCollection* createKeys(const TStringVector& _rNames);
-
- /** creates the index collection for the table
- @param _rNames
- The index names.
- */
- virtual sdbcx::OCollection* createIndexes(const TStringVector& _rNames);
-
- public:
- OAdabasTable( sdbcx::OCollection* _pTables,
- OAdabasConnection* _pConnection);
- OAdabasTable( sdbcx::OCollection* _pTables,
- OAdabasConnection* _pConnection,
- const ::rtl::OUString& _Name,
- const ::rtl::OUString& _Type,
- const ::rtl::OUString& _Description = ::rtl::OUString(),
- const ::rtl::OUString& _SchemaName = ::rtl::OUString(),
- const ::rtl::OUString& _CatalogName = ::rtl::OUString()
- );
-
- ::rtl::OUString getTableName() const { return m_Name; }
- ::rtl::OUString getSchema() const { return m_SchemaName; }
-
- // com::sun::star::lang::XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
- static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
-
- // XAlterTable
- virtual void SAL_CALL alterColumnByName( const ::rtl::OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
- // XNamed
- virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
- /**
- returns the ALTER TABLE XXX COLUMN statement
- */
- ::rtl::OUString getAlterTableColumnPart(const ::rtl::OUString& _rsColumnName );
-
- // starts a sql transaaction
- void beginTransAction();
- // rolls back a sql transaaction
- void rollbackTransAction();
- // ends a sql transaaction
- void endTransAction();
- // some methods to alter table structures
- void alterColumnType(const ::rtl::OUString& _rColName,const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _xDescriptor);
- void alterNotNullValue(sal_Int32 _nNewNullable,const ::rtl::OUString& _rColName);
- void alterDefaultValue(const ::rtl::OUString& _sNewDefault,const ::rtl::OUString& _rColName);
- void dropDefaultValue(const ::rtl::OUString& _sNewDefault);
- void addDefaultValue(const ::rtl::OUString& _sNewDefault,const ::rtl::OUString& _rColName);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_TABLE_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BTables.hxx b/connectivity/source/inc/adabas/BTables.hxx
deleted file mode 100644
index 98aae92..0000000
--- a/connectivity/source/inc/adabas/BTables.hxx
+++ /dev/null
@@ -1,82 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _CONNECTIVITY_ADABAS_TABLES_HXX_
-#define _CONNECTIVITY_ADABAS_TABLES_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-namespace connectivity
-{
- namespace adabas
- {
- class OTables : public sdbcx::OCollection
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
- // OCatalog* m_pParent;
- protected:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
-
- void setComments(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- void createTable( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
-
- virtual ::rtl::OUString getNameForObject(const sdbcx::ObjectType& _xObject);
- public:
- OTables(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
- const TStringVector &_rVector) : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
- ,m_xMetaData(_rMetaData)
- {}
-
- // only the name is identical to ::cppu::OComponentHelper
- virtual void SAL_CALL disposing(void);
-
- // XDrop
- void appendNew(const ::rtl::OUString& _rsNewTable);
- // some helper functions
- /**
- returns a sql string which contains the column definition part for create or alter statements
- */
- static ::rtl::OUString getColumnSqlType(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxColProp);
- /**
- returns the "not null" part or the default part of the table statement
- */
- static ::rtl::OUString getColumnSqlNotNullDefault(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxColProp);
- /**
- returns the corresponding typename
- can contain () which have to filled with values
- */
- static ::rtl::OUString getTypeString(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxColProp);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_TABLES_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BUser.hxx b/connectivity/source/inc/adabas/BUser.hxx
deleted file mode 100644
index da33693..0000000
--- a/connectivity/source/inc/adabas/BUser.hxx
+++ /dev/null
@@ -1,84 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_USER_HXX_
-#define _CONNECTIVITY_ADABAS_USER_HXX_
-
-#include "connectivity/sdbcx/VUser.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OAdabasConnection;
- typedef connectivity::sdbcx::OUser OUser_TYPEDEF;
-
- class OAdabasUser : public OUser_TYPEDEF
- {
- OAdabasConnection* m_pConnection;
-
- ::rtl::OUString getPrivilegeString(sal_Int32 nRights) const;
- // return the privileges and additional the grant rights
- void getAnyTablePrivileges(const ::rtl::OUString& objName, sal_Int32& nRights,sal_Int32& nRightsWithGrant) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- public:
- virtual void refreshGroups();
- public:
- OAdabasUser( OAdabasConnection* _pConnection);
- OAdabasUser( OAdabasConnection* _pConnection,const ::rtl::OUString& _Name);
-
- // XUser
- virtual void SAL_CALL changePassword( const ::rtl::OUString& objPassword, const ::rtl::OUString& newPassword ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- // XAuthorizable
- virtual sal_Int32 SAL_CALL getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
- };
-
- class OUserExtend;
- typedef ::comphelper::OPropertyArrayUsageHelper<OUserExtend> OUserExtend_PROP;
-
- class OUserExtend : public OAdabasUser,
- public OUserExtend_PROP
- {
- protected:
- ::rtl::OUString m_Password;
- // OPropertyArrayUsageHelper
- virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const;
- // OPropertySetHelper
- virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper();
- public:
- OUserExtend(OAdabasConnection* _pConnection);
-
- virtual void construct();
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_USER_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BUsers.hxx b/connectivity/source/inc/adabas/BUsers.hxx
deleted file mode 100644
index df4915c..0000000
--- a/connectivity/source/inc/adabas/BUsers.hxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_USERS_HXX_
-#define _CONNECTIVITY_ADABAS_USERS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-namespace connectivity
-{
- namespace sdbcx
- {
- class IRefreshableUsers;
- }
- namespace adabas
- {
- class OAdabasConnection;
- class OUsers : public sdbcx::OCollection
- {
- OAdabasConnection* m_pConnection;
- connectivity::sdbcx::IRefreshableUsers* m_pParent;
- public:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
- public:
- OUsers( ::cppu::OWeakObject& _rParent,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector,
- OAdabasConnection* _pConnection,
- connectivity::sdbcx::IRefreshableUsers* _pParent) : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
- ,m_pConnection(_pConnection)
- ,m_pParent(_pParent)
- {}
-
- };
- }
-}
-
-#endif // _CONNECTIVITY_ADABAS_USERS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/adabas/BViews.hxx b/connectivity/source/inc/adabas/BViews.hxx
deleted file mode 100644
index 751726e..0000000
--- a/connectivity/source/inc/adabas/BViews.hxx
+++ /dev/null
@@ -1,66 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-#ifndef _CONNECTIVITY_ADABAS_VIEWS_HXX_
-#define _CONNECTIVITY_ADABAS_VIEWS_HXX_
-
-#include "connectivity/sdbcx/VCollection.hxx"
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
-namespace connectivity
-{
- namespace adabas
- {
- class OViews : public sdbcx::OCollection
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
- sal_Bool m_bInDrop;
- // OCatalog* m_pParent;
- protected:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
- virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
-
- void createView( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- public:
- OViews(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
- const TStringVector &_rVector) : sdbcx::OCollection(_rParent,sal_True,_rMutex,_rVector)
- ,m_xMetaData(_rMetaData)
- ,m_bInDrop(sal_False)
- {}
-
- // only the name is identical to ::cppu::OComponentHelper
- virtual void SAL_CALL disposing(void);
-
- void dropByNameImpl(const ::rtl::OUString& elementName);
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_VIEWS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AIndexColumns.hxx b/connectivity/source/inc/ado/AIndexColumns.hxx
deleted file mode 100644
index be58ffb..0000000
--- a/connectivity/source/inc/ado/AIndexColumns.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * 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.
- *
- * 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).
- *
- * 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.
- *
- ************************************************************************/
-
-#ifndef _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-#define _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-
-#include "adabas/BColumns.hxx"
-
-namespace connectivity
-{
- namespace adabas
- {
- class OIndexColumns : public OColumns
- {
- protected:
- virtual ::com::sun::star::uno::Reference< starcontainer::XNamed > createObject(const ::rtl::OUString& _rName);
- virtual ::com::sun::star::uno::Reference< starbeans::XPropertySet > createDescriptor();
- public:
- OIndexColumns( ::cppu::OWeakObject& _rParent,
- ::osl::Mutex& _rMutex,
- const TStringVector &_rVector,
- OTable* _pTable,
- connectivity::sdbcx::IRefreshableColumns* _pParent)
- : OColumns(_rParent,_rMutex,_rVector,_pTable,_pParent)
- {
- }
- };
- }
-}
-#endif // _CONNECTIVITY_ADABAS_INDEXCOLUMNS_HXX_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 7ca4a9897ceb80910c5101a310c33e39bb73580b
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Sat Apr 7 14:00:22 2012 +0200
remove unused makefile
diff --git a/dbaccess/Library_dbui.mk b/dbaccess/Library_dbui.mk
deleted file mode 100644
index 84fe364..0000000
--- a/dbaccess/Library_dbui.mk
+++ /dev/null
@@ -1,301 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2011 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# 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.
-#
-# 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).
-#
-# 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.
-#
-#*************************************************************************
-
-$(eval $(call gb_Library_Library,dbui))
-
-$(eval $(call gb_Library_set_componentfile,dbui,dbaccess/util/dbu))
-
-$(eval $(call gb_Library_set_include,dbui,\
- -I$(SRCDIR)/dbaccess/inc \
- -I$(SRCDIR)/dbaccess/source/ui/inc \
- -I$(SRCDIR)/dbaccess/source/ui/dlg \
- -I$(SRCDIR)/dbaccess/source/inc \
- $$(INCLUDE) \
-))
-
-$(eval $(call gb_Library_add_api,dbui,\
- offapi \
- udkapi \
-))
-
-ifeq ($(SYSTEM_ODBC_HEADERS),TRUE)
-$(eval $(call gb_Library_add_cflags,dbui,\
- -DSYSTEM_ODBC_HEADERS \
-))
-endif
-
-ifeq ($(GUI)$(COM),WNTGCC)
-$(eval $(call gb_Library_add_cflags,dbui,\
- -fpermissive \
-))
-endif
-
-ifeq ($(OS),WNT)
-$(eval $(call gb_Library_add_exception_objects,dbui,\
- dbaccess/source/ui/dlg/adodatalinks \
-))
-endif
-
-$(eval $(call gb_Library_add_defs,dbui,\
- -DDBACCESS_DLLIMPLEMENTATION\
-))
-
-$(eval $(call gb_Library_add_linked_libs,dbui,\
- comphelper \
- cppuhelper \
- cppu \
- dbtools \
- editeng \
- i18nisolang1 \
- fwe \
- sal \
- salhelper \
- sfx \
- svl \
- svt \
- vcl \
- tl \
- utl \
- ucbhelper \
- svxcore \
- svx \
- tk \
- sot \
- dba \
- $(gb_STDLIBS) \
-))
-ifeq ($(OS),WNT)
-$(eval $(call gb_Library_add_linked_libs,dbui,\
- ole32 \
- oleaut32 \
- uuid \
-))
-endif
-
-$(eval $(call gb_Library_add_exception_objects,dbui,\
- dbaccess/source/ui/app/AppDetailView \
- dbaccess/source/ui/app/AppController \
- dbaccess/source/ui/app/AppControllerDnD \
- dbaccess/source/ui/app/AppControllerGen \
- dbaccess/source/ui/app/AppDetailPageHelper \
- dbaccess/source/ui/app/AppSwapWindow \
- dbaccess/source/ui/app/AppTitleWindow \
- dbaccess/source/ui/app/AppView \
- dbaccess/source/ui/app/subcomponentmanager \
- dbaccess/source/ui/browser/genericcontroller \
- dbaccess/source/ui/browser/dsbrowserDnD \
- dbaccess/source/ui/browser/dataview \
- dbaccess/source/ui/browser/dbexchange \
- dbaccess/source/ui/browser/dbloader \
- dbaccess/source/ui/browser/sbagrid \
- dbaccess/source/ui/browser/formadapter \
- dbaccess/source/ui/browser/brwview \
- dbaccess/source/ui/browser/brwctrlr \
- dbaccess/source/ui/browser/unodatbr \
- dbaccess/source/ui/browser/sbamultiplex \
- dbaccess/source/ui/browser/exsrcbrw \
- dbaccess/source/ui/browser/dbtreemodel \
- dbaccess/source/ui/browser/dsEntriesNoExp \
- dbaccess/source/ui/browser/dbtreeview \
- dbaccess/source/ui/control/statusbarontroller \
- dbaccess/source/ui/control/RelationControl \
- dbaccess/source/ui/control/toolboxcontroller \
- dbaccess/source/ui/control/tabletree \
- dbaccess/source/ui/control/TableGrantCtrl \
- dbaccess/source/ui/control/dbtreelistbox \
- dbaccess/source/ui/control/sqledit \
- dbaccess/source/ui/control/ColumnControlWindow \
- dbaccess/source/ui/control/FieldDescControl \
- dbaccess/source/ui/control/opendoccontrols \
- dbaccess/source/ui/dlg/directsql \
- dbaccess/source/ui/dlg/dbwiz \
- dbaccess/source/ui/dlg/dbwizsetup \
- dbaccess/source/ui/dlg/generalpage \
- dbaccess/source/ui/dlg/indexfieldscontrol \
- dbaccess/source/ui/dlg/indexdialog \
- dbaccess/source/ui/dlg/RelationDlg \
- dbaccess/source/ui/dlg/adtabdlg \
- dbaccess/source/ui/dlg/dlgsave \
- dbaccess/source/ui/dlg/admincontrols \
- dbaccess/source/ui/dlg/adminpages \
- dbaccess/source/ui/dlg/queryorder \
- dbaccess/source/ui/dlg/queryfilter \
- dbaccess/source/ui/dlg/paramdialog \
- dbaccess/source/ui/dlg/dbadmin \
- dbaccess/source/ui/dlg/detailpages \
- dbaccess/source/ui/dlg/sqlmessage \
- dbaccess/source/ui/dlg/finteraction \
- dbaccess/source/ui/dlg/ConnectionPage \
- dbaccess/source/ui/dlg/ConnectionHelper \
- dbaccess/source/ui/dlg/TextConnectionHelper \
- dbaccess/source/ui/dlg/ConnectionPageSetup \
- dbaccess/source/ui/dlg/DBSetupConnectionPages \
- dbaccess/source/ui/dlg/UserAdminDlg \
- dbaccess/source/ui/dlg/UserAdmin \
- dbaccess/source/ui/dlg/tablespage \
- dbaccess/source/ui/dlg/DbAdminImpl \
- dbaccess/source/ui/dlg/TablesSingleDlg \
- dbaccess/source/ui/dlg/CollectionView \
- dbaccess/source/ui/dlg/dsselect \
- dbaccess/source/ui/dlg/dbfindex \
- dbaccess/source/ui/dlg/DriverSettings \
- dbaccess/source/ui/dlg/odbcconfig \
- dbaccess/source/ui/dlg/advancedsettings \
- dbaccess/source/ui/dlg/textconnectionsettings \
- dbaccess/source/ui/misc/asyncmodaldialog \
- dbaccess/source/ui/misc/imageprovider \
- dbaccess/source/ui/misc/singledoccontroller \
- dbaccess/source/ui/misc/dbsubcomponentcontroller \
- dbaccess/source/ui/misc/datasourceconnector \
- dbaccess/source/ui/misc/linkeddocuments \
- dbaccess/source/ui/misc/indexcollection \
- dbaccess/source/ui/misc/UITools \
- dbaccess/source/ui/misc/WCPage \
- dbaccess/source/ui/misc/WCopyTable \
- dbaccess/source/ui/misc/WTypeSelect \
- dbaccess/source/ui/misc/TokenWriter \
- dbaccess/source/ui/misc/HtmlReader \
- dbaccess/source/ui/misc/RtfReader \
- dbaccess/source/ui/misc/propertysetitem \
- dbaccess/source/ui/misc/databaseobjectview \
- dbaccess/source/ui/misc/DExport \
- dbaccess/source/ui/misc/uiservices \
- dbaccess/source/ui/misc/RowSetDrop \
- dbaccess/source/ui/misc/TableCopyHelper \
- dbaccess/source/ui/misc/moduledbu \
- dbaccess/source/ui/misc/WColumnSelect \
- dbaccess/source/ui/misc/WExtendPages \
- dbaccess/source/ui/misc/WNameMatch \
- dbaccess/source/ui/misc/ToolBoxHelper \
- dbaccess/source/ui/misc/stringlistitem \
- dbaccess/source/ui/misc/charsets \
- dbaccess/source/ui/misc/defaultobjectnamecheck \
- dbaccess/source/ui/misc/dsmeta \
- dbaccess/source/ui/misc/controllerframe \
- dbaccess/source/ui/misc/propertystorage \
- dbaccess/source/ui/misc/dbaundomanager \
- dbaccess/source/ui/querydesign/ConnectionLineAccess \
- dbaccess/source/ui/querydesign/TableWindowAccess \
- dbaccess/source/ui/querydesign/JAccess \
- dbaccess/source/ui/querydesign/JoinDesignView \
- dbaccess/source/ui/querydesign/JoinController \
- dbaccess/source/ui/querydesign/QueryDesignView \
- dbaccess/source/ui/querydesign/SelectionBrowseBox \
- dbaccess/source/ui/querydesign/querydlg \
- dbaccess/source/ui/querydesign/QueryTabWinUndoAct \
- dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct \
- dbaccess/source/ui/querydesign/QueryTabConnUndoAction \
- dbaccess/source/ui/querydesign/TableFieldDescription \
- dbaccess/source/ui/querydesign/JoinTableView \
- dbaccess/source/ui/querydesign/QueryViewSwitch \
- dbaccess/source/ui/querydesign/QueryTableView \
- dbaccess/source/ui/querydesign/TableWindowData \
- dbaccess/source/ui/querydesign/QTableWindow \
- dbaccess/source/ui/querydesign/TableWindow \
- dbaccess/source/ui/querydesign/JoinExchange \
- dbaccess/source/ui/querydesign/TableWindowListBox \
- dbaccess/source/ui/querydesign/TableWindowTitle \
- dbaccess/source/ui/querydesign/QueryTextView \
- dbaccess/source/ui/querydesign/QTableConnection \
- dbaccess/source/ui/querydesign/querycontroller \
- dbaccess/source/ui/querydesign/querycontainerwindow \
- dbaccess/source/ui/querydesign/queryview \
- dbaccess/source/ui/querydesign/TableConnection \
- dbaccess/source/ui/querydesign/TableConnectionData \
- dbaccess/source/ui/relationdesign/RTableConnection \
- dbaccess/source/ui/relationdesign/RTableConnectionData \
- dbaccess/source/ui/relationdesign/RelationTableView \
- dbaccess/source/ui/relationdesign/RelationDesignView \
- dbaccess/source/ui/relationdesign/RelationController \
- dbaccess/source/ui/tabledesign/TableDesignControl \
- dbaccess/source/ui/tabledesign/TableFieldDescWin \
- dbaccess/source/ui/tabledesign/TableController \
- dbaccess/source/ui/tabledesign/TableDesignView \
- dbaccess/source/ui/tabledesign/TEditControl \
- dbaccess/source/ui/tabledesign/TableFieldControl \
- dbaccess/source/ui/tabledesign/TableDesignHelpBar \
- dbaccess/source/ui/tabledesign/FieldDescGenWin \
- dbaccess/source/ui/tabledesign/FieldDescriptions \
- dbaccess/source/ui/tabledesign/TableRow \
- dbaccess/source/ui/tabledesign/TableRowExchange \
- dbaccess/source/ui/tabledesign/TableUndo \
- dbaccess/source/ui/uno/composerdialogs \
- dbaccess/source/ui/uno/unosqlmessage \
- dbaccess/source/ui/uno/unoadmin \
- dbaccess/source/ui/uno/admindlg \
- dbaccess/source/ui/uno/TableFilterDlg \
- dbaccess/source/ui/uno/AdvancedSettingsDlg \
- dbaccess/source/ui/uno/unoDirectSql \
- dbaccess/source/ui/uno/DBTypeWizDlg \
- dbaccess/source/ui/uno/DBTypeWizDlgSetup \
- dbaccess/source/ui/uno/UserSettingsDlg \
- dbaccess/source/ui/uno/ColumnModel \
- dbaccess/source/ui/uno/ColumnControl \
- dbaccess/source/ui/uno/ColumnPeer \
- dbaccess/source/ui/uno/dbinteraction \
- dbaccess/source/ui/uno/textconnectionsettings_uno \
-))
-
-$(eval $(call gb_Library_add_noexception_objects,dbui, \
- dbaccess/source/ui/control/ScrollHelper \
- dbaccess/source/ui/control/VertSplitView \
- dbaccess/source/ui/control/SqlNameEdit \
- dbaccess/source/ui/control/listviewitems \
- dbaccess/source/ui/control/undosqledit \
- dbaccess/source/ui/control/marktree \
- dbaccess/source/ui/control/curledit \
- dbaccess/source/ui/control/charsetlistbox \
- dbaccess/source/ui/app/AppIconControl \
- dbaccess/source/ui/browser/AsyncronousLink \
- dbaccess/source/ui/dlg/dlgsize \
- dbaccess/source/ui/dlg/dlgattr \
- dbaccess/source/ui/dlg/optionalboolitem \
- dbaccess/source/ui/querydesign/TableFieldInfo \
- dbaccess/source/ui/querydesign/QTableConnectionData \
- dbaccess/source/ui/querydesign/QTableWindowData \
- dbaccess/source/ui/querydesign/ConnectionLine \
- dbaccess/source/ui/querydesign/ConnectionLineData \
- dbaccess/source/shared/dbu_reghelper \
- dbaccess/source/shared/dbustrings \
-))
-
-# the following source file can't be compiled with optimization by some compilers (crash or endless loop):
-# Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC
-# the latter is currently not supported by gbuild and needs a fix here later
-ifeq ($(COM),$(filter-out GCC,$(COM)))
-$(eval $(call gb_Library_add_exception_objects,dbui,\
- dbaccess/source/ui/uno/copytablewizard \
-))
-else
-$(eval $(call gb_Library_add_cxxobjects,dbui,\
- dbaccess/source/ui/uno/copytablewizard \
- , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
-))
-endif
-
-# vim: set noet sw=4 ts=4:
commit dcfdc0fa2476a0b52f9e32a8e7aebc6ba31f1eb2
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Sat Apr 7 13:59:33 2012 +0200
group external headers together
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index cdba6f1..96f3463 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -36,14 +36,39 @@
# in the system case, no libraries should be registered, but the target-local
# variable LIBS should be set to FOO_LIBS, and INCLUDES to FOO_CFLAGS.
+# External headers
+
ifeq ($(SYSTEM_MESA_HEADERS),YES)
-gb_LinkTarget__use_Mesa:=
+gb_LinkTarget__use_mesa_headers :=
else
-define gb_LinkTarget__use_Mesa
-$(eval $(call gb_LinkTarget_add_external_headers,$(1),Mesa_inc))
+define gb_LinkTarget__use_mesa_headers
+$(call gb_LinkTarget_add_external_headers,$(1),Mesa_inc)
+
+endef
+
+endif
+
+ifeq ($(SYSTEM_MOZILLA_HEADERS),YES)
+
+define gb_LinkTarget__use_mozilla_headers
+$(eval $(call gb_LinkTarget_set_include,$(1),\
+ $(MOZILLA_HEADERS_CFLAGS) \
+ $$(INCLUDE) \
+))
+
+endef
+
+else
+
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list