Add skeleton Columns. (firebird-sdbc)
Change-Id: If58976bbb8a64d5092fcf33d3d09cdde145ecfe1
This commit is contained in:
@@ -38,6 +38,7 @@ $(eval $(call gb_Library_set_componentfile,firebird_sdbc,connectivity/source/dri
|
|||||||
|
|
||||||
$(eval $(call gb_Library_add_exception_objects,firebird_sdbc,\
|
$(eval $(call gb_Library_add_exception_objects,firebird_sdbc,\
|
||||||
connectivity/source/drivers/firebird/Blob \
|
connectivity/source/drivers/firebird/Blob \
|
||||||
|
connectivity/source/drivers/firebird/Columns \
|
||||||
connectivity/source/drivers/firebird/Connection \
|
connectivity/source/drivers/firebird/Connection \
|
||||||
connectivity/source/drivers/firebird/DatabaseMetaData \
|
connectivity/source/drivers/firebird/DatabaseMetaData \
|
||||||
connectivity/source/drivers/firebird/Driver \
|
connectivity/source/drivers/firebird/Driver \
|
||||||
|
29
connectivity/source/drivers/firebird/Columns.cxx
Normal file
29
connectivity/source/drivers/firebird/Columns.cxx
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||||
|
/*
|
||||||
|
* This file is part of the LibreOffice project.
|
||||||
|
*
|
||||||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "Columns.hxx"
|
||||||
|
|
||||||
|
using namespace ::connectivity;
|
||||||
|
using namespace ::connectivity::firebird;
|
||||||
|
|
||||||
|
using namespace ::cppu;
|
||||||
|
using namespace ::osl;
|
||||||
|
|
||||||
|
Columns::Columns(OWeakObject& rTable,
|
||||||
|
Mutex& rMutex,
|
||||||
|
const TStringVector& rVector):
|
||||||
|
OColumnsHelper(rTable,
|
||||||
|
sal_True, // TODO: is this case sensitivity?
|
||||||
|
rMutex,
|
||||||
|
rVector)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
35
connectivity/source/drivers/firebird/Columns.hxx
Normal file
35
connectivity/source/drivers/firebird/Columns.hxx
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||||
|
/*
|
||||||
|
* This file is part of the LibreOffice project.
|
||||||
|
*
|
||||||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CONNECTIVITY_FIREBIRD_COLUMNS_HXX
|
||||||
|
#define CONNECTIVITY_FIREBIRD_COLUMNS_HXX
|
||||||
|
|
||||||
|
#include "Table.hxx"
|
||||||
|
|
||||||
|
#include <connectivity/TColumnsHelper.hxx>
|
||||||
|
|
||||||
|
namespace connectivity
|
||||||
|
{
|
||||||
|
namespace firebird
|
||||||
|
{
|
||||||
|
class Columns: public ::connectivity::OColumnsHelper
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Columns(::cppu::OWeakObject& pTable,
|
||||||
|
::osl::Mutex& rMutex,
|
||||||
|
const ::connectivity::TStringVector &_rVector);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace firebird
|
||||||
|
} // namespace connectivity
|
||||||
|
|
||||||
|
|
||||||
|
#endif // CONNECTIVITY_FIREBIRD_COLUMNS_HXX
|
||||||
|
|
||||||
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
Reference in New Issue
Block a user