1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
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/.
11 #include <connectivity/sdbcx/VCollection.hxx>
12 #include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
13 namespace connectivity::firebird
15 class Views final
: public connectivity::sdbcx::OCollection
17 css::uno::Reference
<css::sdbc::XConnection
> m_xConnection
;
18 css::uno::Reference
<css::sdbc::XDatabaseMetaData
> m_xMetaData
;
22 virtual connectivity::sdbcx::ObjectType
createObject(const OUString
& _rName
) override
;
23 virtual void impl_refresh() override
;
24 virtual css::uno::Reference
<css::beans::XPropertySet
> createDescriptor() override
;
25 virtual sdbcx::ObjectType
26 appendObject(const OUString
& _rForName
,
27 const css::uno::Reference
<css::beans::XPropertySet
>& descriptor
) override
;
29 void createView(const css::uno::Reference
<css::beans::XPropertySet
>& descriptor
);
32 Views(const css::uno::Reference
<css::sdbc::XConnection
>& _rxConnection
,
33 ::cppu::OWeakObject
& _rParent
, ::osl::Mutex
& _rMutex
,
34 const ::std::vector
<OUString
>& _rVector
);
37 virtual void dropObject(sal_Int32 _nPos
, const OUString
& _sElementName
) override
;
39 void dropByNameImpl(const OUString
& elementName
);
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */