23#include <com/sun/star/sdbc/XDriver.hpp>
24#include <com/sun/star/lang/XMultiServiceFactory.hpp>
25#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
30using css::uno::Reference;
31using css::uno::Sequence;
33Reference<css::uno::XInterface>
36typedef ::cppu::WeakComponentImplHelper<css::sdbc::XDriver, css::sdbcx::XDataDefinitionSupplier,
37 css::lang::XServiceInfo>
40typedef void* (*OMysqlCConnection_CreateInstanceFunction)(
void* _pDriver);
51 explicit MysqlCDriver(
const Reference<css::lang::XMultiServiceFactory>& _rxFactory);
65 Reference<css::sdbc::XConnection> SAL_CALL
66 connect(
const OUString& url,
const Sequence<css::beans::PropertyValue>& info)
override;
69 Sequence<css::sdbc::DriverPropertyInfo> SAL_CALL
70 getPropertyInfo(
const OUString& url,
const Sequence<css::beans::PropertyValue>& info)
override;
81 const css::uno::Reference<css::sdbc::XConnection>& rxConnection)
override;
83 const OUString& rsURL,
const css::uno::Sequence<css::beans::PropertyValue>& rInfo)
override;
OUString SAL_CALL getImplementationName() override
static OUString getImplementationName_Static()
static Sequence< OUString > getSupportedServiceNames_Static()
static rtl_TextEncoding getDefaultEncoding()
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection(const css::uno::Reference< css::sdbc::XConnection > &rxConnection) override
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL(const OUString &rsURL, const css::uno::Sequence< css::beans::PropertyValue > &rInfo) override
Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const Sequence< css::beans::PropertyValue > &info) override
Sequence< OUString > SAL_CALL getSupportedServiceNames() override
sal_Bool SAL_CALL acceptsURL(const OUString &url) override
MysqlCDriver(const Reference< css::lang::XMultiServiceFactory > &_rxFactory)
const Reference< css::lang::XMultiServiceFactory > & getFactory() const
OWeakRefArray m_xConnections
sal_Int32 SAL_CALL getMajorVersion() override
Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const Sequence< css::beans::PropertyValue > &info) override
void SAL_CALL disposing() override
sal_Int32 SAL_CALL getMinorVersion() override
Reference< css::lang::XMultiServiceFactory > m_xFactory
sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::sdbcx::XDataDefinitionSupplier, css::lang::XServiceInfo > ODriver_BASE
std::vector< css::uno::WeakReferenceHelper > OWeakRefArray
Reference< XInterface > MysqlCDriver_CreateInstance(const Reference< XMultiServiceFactory > &_rxFactory)