Example #1
0
void
PyZoneDumpAttributes_StartUp(ZoneDumpAttributes *subj, void *data)
{
    if(subj == 0)
        return;

    currentAtts = subj;
    PyZoneDumpAttributes_SetDefaults(subj);

    //
    // Create the observer that will be notified when the attributes change.
    //
    if(ZoneDumpAttributesObserver == 0)
    {
        ZoneDumpAttributesObserver = new ObserverToCallback(subj,
            PyZoneDumpAttributes_CallLogRoutine, (void *)data);
    }

}
Example #2
0
void
ZoneDumpScriptingPluginInfo::SetDefaults(const AttributeSubject *atts)
{
    PyZoneDumpAttributes_SetDefaults((const ZoneDumpAttributes *)atts);
}