User: hr Date: 2007-06-27 14:39:13+0000 Modified: dba/connectivity/source/inc/java/sql/Driver.hxx
Log: INTEGRATION: CWS sdblogging (1.8.244); FILE MERGED 2007/04/11 08:55:23 fs 1.8.244.1: #i76119# added support for logging driver activities File Changes: Directory: /dba/connectivity/source/inc/java/sql/ ================================================= File [changed]: Driver.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/inc/java/sql/Driver.hxx?r1=1.8&r2=1.9 Delta lines: +11 -4 -------------------- --- Driver.hxx 2005-09-08 07:21:23+0000 1.8 +++ Driver.hxx 2007-06-27 14:39:10+0000 1.9 @@ -52,15 +52,21 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #endif +#include <comphelper/logging.hxx> +#include <comphelper/componentcontext.hxx> + namespace connectivity { ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL java_sql_Driver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ); class java_sql_Driver : public ::cppu::WeakImplHelper2< ::com::sun::star::sdbc::XDriver,::com::sun::star::lang::XServiceInfo> { - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xORB; + ::comphelper::ComponentContext m_aContext; + ::comphelper::ResourceBasedEventLogger m_aLogger; + protected: virtual ~java_sql_Driver(); + public: java_sql_Driver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory); @@ -79,7 +85,8 @@ virtual sal_Int32 SAL_CALL getMajorVersion( ) throw(::com::sun::star::uno::RuntimeException) ; virtual sal_Int32 SAL_CALL getMinorVersion( ) throw(::com::sun::star::uno::RuntimeException); - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getORB() const { return m_xORB; } + const ::comphelper::ComponentContext& getContext() const { return m_aContext; } + const ::comphelper::ResourceBasedEventLogger& getLogger() const { return m_aLogger; } }; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
