22#include <com/sun/star/sdbc/XDriver.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
31 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver,
32 css::lang::XServiceInfo,
43 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
45 OFileDriver(css::uno::Reference< css::uno::XComponentContext > _xContext);
48 virtual void SAL_CALL disposing()
override;
56 virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info )
override;
57 virtual sal_Bool SAL_CALL acceptsURL(
const OUString& url )
override;
58 virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info )
override;
59 virtual sal_Int32 SAL_CALL getMajorVersion( )
override;
60 virtual sal_Int32 SAL_CALL getMinorVersion( )
override;
63 virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection(
const css::uno::Reference< css::sdbc::XConnection >& connection )
override;
64 virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info )
override;
Reference< XComponentContext > m_xContext
css::uno::Reference< css::uno::XComponentContext > m_xContext
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext() const
connectivity::OWeakRefArray m_xConnections
#define OOO_DLLPUBLIC_FILE
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo, css::sdbcx::XDataDefinitionSupplier > ODriver_BASE
std::vector< css::uno::WeakReferenceHelper > OWeakRefArray
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)