/* -*- 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_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX #define INCLUDED_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX #include #include #include #include #include #include namespace frm { typedef ::cppu::ImplHelper1 < css::sdb::XSQLErrorBroadcaster > OErrorBroadcaster_BASE; class OErrorBroadcaster : public OErrorBroadcaster_BASE { private: ::cppu::OBroadcastHelper& m_rBHelper; ::comphelper::OInterfaceContainerHelper2 m_aErrorListeners; protected: explicit OErrorBroadcaster( ::cppu::OBroadcastHelper& _rBHelper ); virtual ~OErrorBroadcaster( ); void disposing(); void onError( const css::sdbc::SQLException& _rException, const OUString& _rContextDescription ); void onError( const css::sdb::SQLErrorEvent& _rException ); protected: // XSQLErrorBroadcaster virtual void SAL_CALL addSQLErrorListener( const css::uno::Reference< css::sdb::XSQLErrorListener >& _rListener ) override; virtual void SAL_CALL removeSQLErrorListener( const css::uno::Reference< css::sdb::XSQLErrorListener >& _rListener ) override; }; } // namespace frm #endif // INCLUDED_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/collabora/co-22.05-testflight LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/mysqlc
AgeCommit message (Expand)Author
2014-07-02mysqlc: sal_Bool -> boolStephan Bergmann
2014-05-30deb#749592 mysql-connector doesn't work with remote connectionsNoel Grandin
2014-05-29use OUString::startsWith()Noel Grandin
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
2014-05-11Kill DECL_PROP1IMPL and relatedJulien Nabet
2014-05-06simplify ternary conditions "xxx ? true : yyy"Noel Grandin
2014-04-19fixincludeguards.sh: some smaller dirsThomas Arnhold
2014-04-07Do not use sal/log.hxx in extensionsStephan Bergmann
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-03-11normalize values of BUNDLE_MARIADBMichael Stahl
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
2014-02-26Remove visual noise from mysqlcAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-02-12normalize values of SYSTEM_PYTHON, SYSTEM_MYSQL_CPPCONNMichael Stahl
2014-02-03Do not disable -Werror for mysqlcStephan Bergmann
2014-02-03auto_ptr -> heap_ptrStephan Bergmann
2014-02-03auto_ptr -> scoped_ptrStephan Bergmann
2014-02-03USE_CPP_CONN is unusedStephan Bergmann
2014-02-03Get rid of macrosStephan Bergmann
2014-02-03Fix typosStephan Bergmann
2014-02-02fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.Alexandre Vicenzi
2013-12-20typo fixesAndras Timar
2013-12-17Keep using component_getImplementationEnvironment in extensionsStephan Bergmann
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
2013-12-10Drop duplicate #includeTakeshi Abe
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
2013-11-04gbuild: fix gb_Extension_use_default_descriptionMichael Stahl
2013-10-19fdo#70496 revert to using libmysqlclientLionel Elie Mamane
2013-10-16cleanupThomas Arnhold
2013-10-11Extension shared library components must not use the "prefix" featureStephan Bergmann