19#ifndef INCLUDED_VCL_Reference_HXX
20#define INCLUDED_VCL_Reference_HXX
23#include <osl/interlck.h>
31 template<
typename T>
friend class VclPtr;
32 friend class ::VclBuilder;
37 osl_atomic_increment(&mnRefCnt);
42 if (osl_atomic_decrement(&mnRefCnt) == 0)
Creates a hierarchy of vcl::Windows (widgets) from a .ui file for dialogs, sidebar,...
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
oslInterlockedCount mnRefCnt
VclReferenceBase(const VclReferenceBase &)=delete
sal_Int32 getRefCount() const
VclReferenceBase & operator=(const VclReferenceBase &)=delete