cid#1636677 Uninitialized scalar field
[LibreOffice.git] / connectivity / source / drivers / firebird / Views.hxx
blob6887bdc66ed00b25be9b62c5781b567ba64f1fe6
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
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/.
8 */
9 #pragma once
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;
19 bool m_bInDrop;
21 // OCollection
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);
31 public:
32 Views(const css::uno::Reference<css::sdbc::XConnection>& _rxConnection,
33 ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
34 const ::std::vector<OUString>& _rVector);
36 // XDrop
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: */