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_CATALOG_HXX
11 : #define CONNECTIVITY_FIREBIRD_CATALOG_HXX
12 :
13 : #include <connectivity/sdbcx/VCatalog.hxx>
14 :
15 : namespace connectivity
16 : {
17 : namespace firebird
18 : {
19 0 : class Catalog: public ::connectivity::sdbcx::OCatalog
20 : {
21 : protected:
22 : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >
23 : m_xConnection;
24 :
25 : public:
26 : Catalog(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& rConnection);
27 :
28 : // OCatalog
29 : virtual void refreshTables() SAL_OVERRIDE;
30 : virtual void refreshViews() SAL_OVERRIDE;
31 :
32 : // IRefreshableGroups
33 : virtual void refreshGroups() SAL_OVERRIDE;
34 :
35 : // IRefreshableUsers
36 : virtual void refreshUsers() SAL_OVERRIDE;
37 : };
38 : } // namespace firebird
39 : } // namespace connectivity
40 :
41 : #endif //CONNECTIVITY_FIREBIRD_CATALOG_HXX
42 :
43 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|