22#include <com/sun/star/sdbc/XDriver.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/uno/XComponentContext.hpp>
29#include <osl/module.h>
34 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo >
ODriver_BASE;
45 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
52 ODBCDriver(css::uno::Reference< css::uno::XComponentContext > xContext);
57 virtual void SAL_CALL disposing()
override;
65 virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info )
override;
66 virtual sal_Bool SAL_CALL acceptsURL(
const OUString& url )
override;
67 virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info )
override;
68 virtual sal_Int32 SAL_CALL getMajorVersion( )
override;
69 virtual sal_Int32 SAL_CALL getMinorVersion( )
override;
Reference< XComponentContext > m_xContext
virtual oslGenericFunction getOdbcFunction(ODBC3SQLFunctionId _nIndex) const =0
virtual SQLHANDLE EnvironmentHandle(OUString &_rPath)=0
css::uno::Reference< css::uno::XComponentContext > m_xContext
connectivity::OWeakRefArray m_xConnections
const css::uno::Reference< css::uno::XComponentContext > & getContext() const
SQLHANDLE m_pDriverHandle
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo > ODriver_BASE
std::vector< css::uno::WeakReferenceHelper > OWeakRefArray
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
#define OOO_DLLPUBLIC_ODBCBASE