diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 17:27:40 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 17:27:40 +0000 |
commit | 027298c5bd56d8a6ad9325a5da7a8b8fb1c494aa (patch) | |
tree | ed51395df3ab7ba9a2dc2aa3054f9f7d7812fda5 /connectivity/source/drivers/mozab/MConnection.hxx | |
parent | ec434f70f4834b510a811a37e256d3a5064003cc (diff) |
INTEGRATION: CWS mozab04 (1.10.2); FILE MERGED
2004/04/12 10:15:52 windly 1.10.2.2: #i6883# make mozab driver threadsafe
2004/04/05 09:54:41 windly 1.10.2.1: #i20338# Read and Write access to Address Books
Diffstat (limited to 'connectivity/source/drivers/mozab/MConnection.hxx')
-rw-r--r-- | connectivity/source/drivers/mozab/MConnection.hxx | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mozab/MConnection.hxx b/connectivity/source/drivers/mozab/MConnection.hxx index 7d7fe570ff90..05f76205a3a3 100644 --- a/connectivity/source/drivers/mozab/MConnection.hxx +++ b/connectivity/source/drivers/mozab/MConnection.hxx @@ -2,9 +2,9 @@ * * $RCSfile: MConnection.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: obo $ $Date: 2004-03-17 10:41:21 $ + * last change: $Author: hjs $ $Date: 2004-06-25 18:27:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,6 +113,20 @@ namespace connectivity } sdbc_address_type; } + // For the moment, we will connect the Mozilla address book to the Mozilla + // top-level address book which will display whatever is in the preferences + // file of Mozilla. + // This one is a base uri which will be completed with the connection data. + static sal_Char* MOZ_SCHEME_MOZILLA = "moz-abdirectory://"; + // This one is for mozilla native address book + static sal_Char* MOZ_SCHEME_MOZILLA_MDB = "moz-abmdbdirectory://"; + // This one is for LDAP address book + static sal_Char* MOZ_SCHEME_LDAP = "moz-abldapdirectory://"; + // These two uris will be used to obtain directory factories to access all + // address books of the given type. + static sal_Char* MOZ_SCHEME_OUTLOOK_MAPI = "moz-aboutlookdirectory://op/"; + static sal_Char* MOZ_SCHEME_OUTLOOK_EXPRESS = "moz-aboutlookdirectory://oe/"; + typedef connectivity::OMetaConnection OConnection_BASE; // implements basics and text encoding class OConnection : public OConnection_BASE, @@ -150,7 +164,7 @@ namespace connectivity SDBCAddress::sdbc_address_type m_eSDBCAddressType; - // End of Additions from the land of mozilla + sal_Bool m_bForceLoadTable; public: virtual void construct( const ::rtl::OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) throw(::com::sun::star::sdbc::SQLException); @@ -229,6 +243,9 @@ namespace connectivity static ::rtl::OUString getDriverImplementationName(); MNameMapper* getNameMapper(); + void setForceLoadTables(sal_Bool aForce){ m_bForceLoadTable = aForce;} + sal_Bool getForceLoadTables() { return m_bForceLoadTable;} + // End of Additions from the land of mozilla }; |