Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_INDEXES_HXX
11 : #define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_INDEXES_HXX
12 :
13 : #include "Table.hxx"
14 :
15 : #include <connectivity/TIndexes.hxx>
16 :
17 : namespace connectivity
18 : {
19 : namespace firebird
20 : {
21 :
22 : /**
23 : * Firebird has a non-standard DROP INDEX statement, hence we need
24 : * to override OIndexesHelper::dropObject
25 : */
26 0 : class Indexes: public ::connectivity::OIndexesHelper
27 : {
28 : private:
29 : Table* m_pTable;
30 : protected:
31 : // XDrop
32 : virtual void dropObject(sal_Int32 nPosition,
33 : const ::rtl::OUString& sIndexName) SAL_OVERRIDE;
34 : public:
35 : Indexes(Table* pTable,
36 : ::osl::Mutex& rMutex,
37 : const ::std::vector< ::rtl::OUString>& rVector);
38 : };
39 :
40 : } // namespace firebird
41 : } // namespace connectivity
42 :
43 : #endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_INDEXES_HXX
44 :
45 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|