/*
{"description" : "This interface can be provided as a secondary interface of an object, allowing it to then receive notifications of adaptation events."}
*/
interface AdaptEvents{
/*
{ "@description" : "This function is called when an object implementation becomes the 'active' one for that object (i.e. this object implementation has been adapted to)." }
*/
void active(){}
/*
{ "@description" : "This function is called when an object implementation becomes 'inactive' for that object (i.e. this object implementation has been adapted away from)." }
*/
void inactive(){}
}To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n lang.AdaptEvents -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation