20#ifndef INCLUDED_UNOTOOLS_CLOSEVETO_HXX
21#define INCLUDED_UNOTOOLS_CLOSEVETO_HXX
24#include <com/sun/star/uno/Reference.hxx>
33 struct CloseVeto_Data;
43 CloseVeto(
const css::uno::Reference< css::uno::XInterface >& i_closeable,
44 bool bHasOwnership =
false);
48 std::unique_ptr< CloseVeto_Data >
m_xData;
will add a XCloseListener to a given component, and veto its closing as long as the CloseVeto instanc...
std::unique_ptr< CloseVeto_Data > m_xData