22#include <com/sun/star/lang/DisposedException.hpp>
38OUString SAL_CALL ODriver::getImplementationName( )
40 return "com.sun.star.comp.sdbc.calc.ODriver";
45extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
47 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const&)
56 return getXWeak(ret.get());
64 ::osl::MutexGuard aGuard(
m_aMutex );
65 if (ODriver_BASE::rBHelper.bDisposed)
66 throw DisposedException();
72 pCon->construct(url,info);
80 return url.startsWith(
"sdbc:calc:");
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * connectivity_calc_ODriver(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
helper class for accessing resources shared by different libraries in the connectivity module
OUString getResourceString(TranslateId pResId) const
loads a string from the shared resource file
virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual sal_Bool SAL_CALL acceptsURL(const OUString &url) override
connectivity::OWeakRefArray m_xConnections