diff options
author | Matthew Nicholls <matthew.nicholls95@hotmail.co.uk> | 2015-04-01 15:43:32 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-04-14 14:29:02 +0000 |
commit | b7bb34d74c5c764844f5b87483d09a61d3088695 (patch) | |
tree | c2e0827ed5ffe194ef51a8204b67d298c6741b50 /connectivity/inc | |
parent | 7b68534ab0d322522ee5f64250526050187b6a9c (diff) |
tdf#88710 Kill svx dbtoolsclient
Removes dynamic loading logic described in tdf#84315, similar thing
removed in swdbtoolsclient.
Change-Id: I8762102a7263e6933354c2ff6f9978929b760f6e
Reviewed-on: https://gerrit.libreoffice.org/15147
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'connectivity/inc')
-rw-r--r-- | connectivity/inc/simpledbt/charset_s.hxx | 54 | ||||
-rw-r--r-- | connectivity/inc/simpledbt/parser_s.hxx | 60 |
2 files changed, 114 insertions, 0 deletions
diff --git a/connectivity/inc/simpledbt/charset_s.hxx b/connectivity/inc/simpledbt/charset_s.hxx new file mode 100644 index 000000000000..25aa2bfc7630 --- /dev/null +++ b/connectivity/inc/simpledbt/charset_s.hxx @@ -0,0 +1,54 @@ +/* -*- 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_SIMPLEDBT_CHARSET_S_HXX +#define INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_CHARSET_S_HXX + +#include <connectivity/virtualdbtools.hxx> +#include <connectivity/dbcharset.hxx> + + +namespace connectivity +{ + + + + //= ODataAccessCharSet + + class ODataAccessCharSet : public simple::IDataAccessCharSet + { + protected: + ::dbtools::OCharsetMap m_aCharsetInfo; + + public: + ODataAccessCharSet() { } + + // IDataAccessCharSet + sal_Int32 getSupportedTextEncodings( + ::std::vector< rtl_TextEncoding >& /* [out] */ _rEncs + ) const SAL_OVERRIDE; + }; + + +} // namespace connectivity + + +#endif // INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_CHARSET_S_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/inc/simpledbt/parser_s.hxx b/connectivity/inc/simpledbt/parser_s.hxx new file mode 100644 index 000000000000..359ab25c6366 --- /dev/null +++ b/connectivity/inc/simpledbt/parser_s.hxx @@ -0,0 +1,60 @@ +/* -*- 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_SIMPLEDBT_PARSER_S_HXX +#define INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_PARSER_S_HXX + +#include <connectivity/virtualdbtools.hxx> +#include <connectivity/sqlparse.hxx> + + +namespace connectivity +{ + + + + //= OSimpleSQLParser + + class OSimpleSQLParser : public simple::ISQLParser + { + protected: + OSQLParser m_aFullParser; + + public: + OSimpleSQLParser(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, const IParseContext* _pContext); + + // ISQLParser + virtual ::rtl::Reference< simple::ISQLParseNode > predicateTree( + OUString& rErrorMessage, + const OUString& rStatement, + const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter, + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxField + ) const SAL_OVERRIDE; + + virtual const IParseContext& getContext() const SAL_OVERRIDE; + }; + + +} // namespace connectivity + + +#endif // INCLUDED_CONNECTIVITY_SOURCE_SIMPLEDBT_PARSER_S_HXX + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |