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 CONNECTIVITY_FIREBIRD_USER_HXX
11 : #define CONNECTIVITY_FIREBIRD_USER_HXX
12 :
13 : #include <connectivity/sdbcx/VUser.hxx>
14 :
15 : #include <com/sun/star/sdbc/XConnection.hpp>
16 :
17 : namespace connectivity
18 : {
19 : namespace firebird
20 : {
21 :
22 : /**
23 : * This implements com.sun.star.sdbcx.Container.
24 : */
25 0 : class User: public ::connectivity::sdbcx::OUser
26 : {
27 :
28 : public:
29 : /**
30 : * Create a "new" descriptor, which isn't yet in the database.
31 : */
32 : User(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& rConnection);
33 : /**
34 : * For a user that already exists in the db.
35 : */
36 : User(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& rConnection,
37 : const ::rtl::OUString& rName);
38 :
39 : // IRefreshableGroups::
40 : virtual void refreshGroups() SAL_OVERRIDE;
41 : };
42 :
43 : } // namespace firebird
44 : } // namespace connectivity
45 :
46 :
47 : #endif // CONNECTIVITY_FIREBIRD_USER_HXX
48 :
49 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|