void PyConeAttributes_StartUp(ConeAttributes *subj, void *data) { if(subj == 0) return; currentAtts = subj; PyConeAttributes_SetDefaults(subj); // // Create the observer that will be notified when the attributes change. // if(ConeAttributesObserver == 0) { ConeAttributesObserver = new ObserverToCallback(subj, PyConeAttributes_CallLogRoutine, (void *)data); } }
void ConeScriptingPluginInfo::SetDefaults(const AttributeSubject *atts) { PyConeAttributes_SetDefaults((const ConeAttributes *)atts); }