20#ifndef INCLUDED_CONNECTIVITY_CONNCLEANUP_HXX
21#define INCLUDED_CONNECTIVITY_CONNCLEANUP_HXX
24#include <com/sun/star/beans/XPropertyChangeListener.hpp>
25#include <com/sun/star/sdbc/XRowSetListener.hpp>
39 typedef ::cppu::WeakImplHelper < css::beans::XPropertyChangeListener,
40 css::sdbc::XRowSetListener
45 css::uno::Reference< css::sdbc::XConnection >
47 css::uno::Reference< css::sdbc::XRowSet >
m_xRowSet;
58 const css::uno::Reference< css::sdbc::XRowSet >& _rxRowSet,
59 const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
64 virtual void SAL_CALL propertyChange(
const css::beans::PropertyChangeEvent& _rEvent )
override;
67 virtual void SAL_CALL disposing(
const css::lang::EventObject& _rSource )
override;
70 virtual void SAL_CALL cursorMoved(
const css::lang::EventObject& event )
override;
71 virtual void SAL_CALL rowChanged(
const css::lang::EventObject& event )
override;
72 virtual void SAL_CALL rowSetChanged(
const css::lang::EventObject& event )
override;
74 void clearConnection();
76 void startRowSetListening();
77 void stopRowSetListening();
80 void startPropertyListening(
const css::uno::Reference< css::beans::XPropertySet >& _rxProps );
81 void stopPropertyListening(
const css::uno::Reference< css::beans::XPropertySet >& _rxEventSource );
class SAL_NO_VTABLE XPropertySet