summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-10 12:39:38 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-11 16:05:11 +0100
commit83994aa7cd4558588f85d451358fe8f7a560816b (patch)
tree32895f60651171dae072cf0c760bd152b8ffe557
parentf496a1cb39b33e3dff1b3f0475dc00c904a2c5f4 (diff)
Add skeleton Columns. (firebird-sdbc)
Change-Id: If58976bbb8a64d5092fcf33d3d09cdde145ecfe1
-rw-r--r--connectivity/Library_firebird_sdbc.mk1
-rw-r--r--connectivity/source/drivers/firebird/Columns.cxx29
-rw-r--r--connectivity/source/drivers/firebird/Columns.hxx35
3 files changed, 65 insertions, 0 deletions
diff --git a/connectivity/Library_firebird_sdbc.mk b/connectivity/Library_firebird_sdbc.mk
index 0a36970b2fb8..066d60ad82aa 100644
--- a/connectivity/Library_firebird_sdbc.mk
+++ b/connectivity/Library_firebird_sdbc.mk
@@ -38,6 +38,7 @@ $(eval $(call gb_Library_set_componentfile,firebird_sdbc,connectivity/source/dri
$(eval $(call gb_Library_add_exception_objects,firebird_sdbc,\
connectivity/source/drivers/firebird/Blob \
+ connectivity/source/drivers/firebird/Columns \
connectivity/source/drivers/firebird/Connection \
connectivity/source/drivers/firebird/DatabaseMetaData \
connectivity/source/drivers/firebird/Driver \
diff --git a/connectivity/source/drivers/firebird/Columns.cxx b/connectivity/source/drivers/firebird/Columns.cxx
new file mode 100644
index 000000000000..c1e70342690b
--- /dev/null
+++ b/connectivity/source/drivers/firebird/Columns.cxx
@@ -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: */ \ No newline at end of file
diff --git a/connectivity/source/drivers/firebird/Columns.hxx b/connectivity/source/drivers/firebird/Columns.hxx
new file mode 100644
index 000000000000..a1130ffd7358
--- /dev/null
+++ b/connectivity/source/drivers/firebird/Columns.hxx
@@ -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: */ \ No newline at end of file