summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/mozaddressbook/MABDriver.hxx
diff options
context:
space:
mode:
authorwvd <wvd@openoffice.org>2001-07-18 11:12:46 +0000
committerwvd <wvd@openoffice.org>2001-07-18 11:12:46 +0000
commit8693dfee497edbbe51e6198616ad9caecd49267f (patch)
tree4076698c8c86b2d54d4f4398c9ea854c8d86e3bf /connectivity/source/inc/mozaddressbook/MABDriver.hxx
parent95427687e08aff629ad68a384703020a42f11639 (diff)
#88447# Added member and retriever for XMultiServiceFactory. This will be used by OMozabConnection to initialise its columnalias member.
Diffstat (limited to 'connectivity/source/inc/mozaddressbook/MABDriver.hxx')
-rw-r--r--connectivity/source/inc/mozaddressbook/MABDriver.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/connectivity/source/inc/mozaddressbook/MABDriver.hxx b/connectivity/source/inc/mozaddressbook/MABDriver.hxx
index f6a531dd168d..b18174b050ec 100644
--- a/connectivity/source/inc/mozaddressbook/MABDriver.hxx
+++ b/connectivity/source/inc/mozaddressbook/MABDriver.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: MABDriver.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: dkenny $ $Date: 2001-05-28 22:02:59 $
+ * last change: $Author: wvd $ $Date: 2001-07-18 12:12:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,7 +80,7 @@ namespace connectivity
public:
OMozabDriver(const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) :
- file::OFileDriver(_rxFactory){}
+ file::OFileDriver(_rxFactory), m_xMSFactory(_rxFactory){}
static ::rtl::OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException);
::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException);
@@ -92,6 +92,12 @@ namespace connectivity
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL acceptsURL( const ::rtl::OUString& url )
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
+ const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
+ & getMSFactory(void) const
+ { return m_xMSFactory; }
+ private:
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::lang::XMultiServiceFactory > m_xMSFactory;
};
}
}