summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file/FCatalog.hxx
blob: b45f3a04f1ccfa817b0ee20b16a353a9a095193a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FCATALOG_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FCATALOG_HXX

#include <connectivity/sdbcx/VCatalog.hxx>

#include "file/filedllapi.hxx"

namespace connectivity
{
    namespace file
    {
        class OConnection;
        class OOO_DLLPUBLIC_FILE SAL_NO_VTABLE OFileCatalog :
            public connectivity::sdbcx::OCatalog
        {
        protected:
            OConnection*                                        m_pConnection;

            /** builds the name which should be used to access the object later on in the collection.
                Will only be called in fillNames.
                @param  _xRow
                    The current row from the resultset given to fillNames.
            */
            virtual OUString buildName(  const css::uno::Reference< css::sdbc::XRow >& _xRow) override;

        public:
            virtual void refreshTables() override;
            virtual void refreshViews() override;
            virtual void refreshGroups() override;
            virtual void refreshUsers() override;

        public:
            OFileCatalog(OConnection* _pCon);
            OConnection*    getConnection() { return m_pConnection; }

            virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
            // ::cppu::OComponentHelper
            virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes(  ) override;
            virtual void SAL_CALL disposing() override;
        };
    }
}
#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FCATALOG_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
7a842a62b9a41ddf53fb0eaff03'>helpcompiler: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski 2018-01-15loplugin:useuniqueptr in BasicCodeTaggerNoel Grandin 2017-11-26Replace lists by vector and deque (helpcompiler)Julien Nabet 2017-10-30loplugin:constmethod in idl,helpcompilerNoel Grandin 2017-10-23loplugin:includeform: helpcompilerStephan Bergmann 2017-10-05Rename and move SAL_U/W to o3tl::toU/WMike Kaganski 2017-10-03Replace more reinterpret_cast with SAL_W/SAL_UMike Kaganski 2017-08-06cppcheck: unreadVariableJochen Nitschke 2017-07-18loplugin:constparams in vclNoel Grandin 2017-07-02loplugin:casttovoid: helpcompilerStephan Bergmann 2017-06-25loplugin:oncevar in helpcompiler..jvmfwkNoel Grandin 2017-06-08remove some unnecessary use of OUStringBufferNoel Grandin 2017-05-28remove unnecessary use of OString::getStrNoel Grandin 2017-05-26Make helpcompiler more verbose on dot ahelpsGabor Kelemen 2017-05-09Clean up uses of SAL_U/SAL_W: helpcompilerStephan Bergmann 2017-05-03remove empty commentsNoel Grandin 2017-04-25tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock 2017-04-04Finally switch MSVC to sal_Unicode = char16_t, tooStephan Bergmann 2017-03-23Remove unused #include <ctype.h>Stephan Bergmann 2017-03-22Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char)Stephan Bergmann 2017-03-22Prevent calls to rtl/character.hxx functions with (signed) char argumentsStephan Bergmann 2017-02-16convert HelpProcessingErrorClass to scoped enumNoel Grandin