Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
DeletionHook is the base implementation class for hooks which are hooked up into the deletion phase of a Rapicorn::Deletable. More...
#include <objects.hh>
Inherited by Rapicorn::XurlNode.
Public Member Functions | |
bool | deletable_add_hook (void *any) |
bool | deletable_add_hook (Deletable *deletable) |
bool | deletable_remove_hook (void *any) |
bool | deletable_remove_hook (Deletable *deletable) |
Protected Member Functions | |
virtual void | monitoring_deletable (Deletable &deletable)=0 |
virtual void | dismiss_deletable ()=0 |
DeletionHook is the base implementation class for hooks which are hooked up into the deletion phase of a Rapicorn::Deletable.
bool Rapicorn::Deletable::DeletionHook::deletable_add_hook | ( | Deletable * | deletable | ) |
deletable | possible Deletable* handle |
Adds the deletion hook to deletable if it is non NULL. The deletion hook is asserted to be so far uninstalled. This function is MT-safe and may be called from any thread.
bool Rapicorn::Deletable::DeletionHook::deletable_remove_hook | ( | Deletable * | deletable | ) |
deletable | possible Deletable* handle |
Removes the deletion hook from deletable if it is non NULL. The deletion hook is asserted to be installed on deletable. This function is MT-safe and may be called from any thread.