tdf#150789 - FILEOPEN PPTX: fix text in SmartArt vertically off
[LibreOffice.git] / connectivity / source / drivers / firebird / User.hxx
blobe47565f5d52ef7d02ce954486e401cbb56e0d940
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 */
10 #pragma once
12 #include <sdbcx/VUser.hxx>
13 #include <com/sun/star/sdbc/XConnection.hpp>
15 namespace connectivity::firebird
18 /**
19 * This implements com.sun.star.sdbcx.Container.
21 class User: public ::connectivity::sdbcx::OUser
23 css::uno::Reference< css::sdbc::XConnection > m_xConnection;
25 public:
26 /**
27 * Create a "new" descriptor, which isn't yet in the database.
29 User(const css::uno::Reference< css::sdbc::XConnection >& rConnection);
30 /**
31 * For a user that already exists in the db.
33 User(const css::uno::Reference< css::sdbc::XConnection >& rConnection, const OUString& rName);
35 // XAuthorizable
36 virtual void SAL_CALL changePassword(const OUString&, const OUString& newPassword) override;
37 virtual sal_Int32 SAL_CALL getPrivileges(const OUString&, sal_Int32) override;
38 virtual sal_Int32 SAL_CALL getGrantablePrivileges(const OUString&, sal_Int32) override;
40 // IRefreshableGroups::
41 virtual void refreshGroups() override;
44 } // namespace connectivity::firebird
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */