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/VView.hxx>
13 #include <com/sun/star/sdbcx/XAlterView.hpp>
14 #include <com/sun/star/sdbc/XConnection.hpp>
16 #include <comphelper/sequence.hxx>
17 #include <cppuhelper/implbase1.hxx>
19 namespace connectivity::firebird
21 typedef ::connectivity::sdbcx::OView View_Base
;
22 typedef ::cppu::ImplHelper1
<css::sdbcx::XAlterView
> View_IBASE
;
24 class View
: public View_Base
, public View_IBASE
27 View(const css::uno::Reference
<css::sdbc::XConnection
>& _rxConnection
, bool _bCaseSensitive
,
28 const OUString
& _rSchemaName
, const OUString
& _rName
);
31 virtual css::uno::Any SAL_CALL
queryInterface(const css::uno::Type
& aType
) override
;
32 virtual void SAL_CALL
acquire() noexcept override
;
33 virtual void SAL_CALL
release() noexcept override
;
35 virtual css::uno::Sequence
<css::uno::Type
> SAL_CALL
getTypes() override
;
36 virtual css::uno::Sequence
<sal_Int8
> SAL_CALL
getImplementationId() override
;
39 virtual void SAL_CALL
alterCommand(const OUString
& NewCommand
) override
;
42 virtual ~View() override
;
46 virtual void SAL_CALL
getFastPropertyValue(css::uno::Any
& _rValue
,
47 sal_Int32 _nHandle
) const override
;
50 /** retrieves the current command of the View */
51 OUString
impl_getCommand() const;
54 css::uno::Reference
<css::sdbc::XConnection
> m_xConnection
;
56 using View_Base::getFastPropertyValue
;
59 } // namespace connectivity::firebird
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */