diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-10-15 11:59:14 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-10-15 11:59:14 +0000 |
commit | 40fd9214e1b577933ce7715d9b8f3799f127a903 (patch) | |
tree | a691789444fd3932beecade808cea046678c5016 /connectivity/source/drivers/mozab/MDriver.hxx | |
parent | 3443bcfbe69a5d52871f01bd9372ab2ac78e783b (diff) |
#92124# split driver
Diffstat (limited to 'connectivity/source/drivers/mozab/MDriver.hxx')
-rw-r--r-- | connectivity/source/drivers/mozab/MDriver.hxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mozab/MDriver.hxx b/connectivity/source/drivers/mozab/MDriver.hxx index 0dedf08b6715..f121a57adb4a 100644 --- a/connectivity/source/drivers/mozab/MDriver.hxx +++ b/connectivity/source/drivers/mozab/MDriver.hxx @@ -2,9 +2,9 @@ * * $RCSfile: MDriver.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mmaher $ $Date: 2001-10-11 10:07:54 $ + * last change: $Author: oj $ $Date: 2001-10-15 12:57:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,14 +73,21 @@ #ifndef _CONNECTIVITY_COMMONTOOLS_HXX_ #include "connectivity/CommonTools.hxx" #endif +#ifndef _OSL_MODULE_H_ +#include <osl/module.h> +#endif +extern "C" void* SAL_CALL OMozabConnection_CreateInstance(void* _pDriver); namespace connectivity { namespace mozab { ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL MozabDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ); + typedef void* (SAL_CALL * OMozabConnection_CreateInstanceFunction)(void* _pDriver ); + + typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::sdbc::XDriver, ::com::sun::star::lang::XServiceInfo > ODriver_BASE; @@ -93,6 +100,10 @@ namespace connectivity connectivity::OWeakRefArray m_xConnections; // vector containing a list // of all the Connection objects // for this Driver + oslModule s_hModule; + OMozabConnection_CreateInstanceFunction s_pCreationFunc; + void registerClient(); + virtual ~MozabDriver(); public: MozabDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory); @@ -118,6 +129,12 @@ namespace connectivity const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & getMSFactory(void) const { return m_xMSFactory; } + static sal_Bool acceptsURL_Stat( const ::rtl::OUString& url ); + // static methods to return the names of the uri + static const sal_Char* getSDBC_SCHEME_MOZILLA(); + static const sal_Char* getSDBC_SCHEME_LDAP(); + static const sal_Char* getSDBC_SCHEME_OUTLOOK_MAPI(); + static const sal_Char* getSDBC_SCHEME_OUTLOOK_EXPRESS(); }; } |