Esempio n. 1
0
void
PyFFTAttributes_StartUp(FFTAttributes *subj, void *data)
{
    if(subj == 0)
        return;

    currentAtts = subj;
    PyFFTAttributes_SetDefaults(subj);

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

}
void
FFTScriptingPluginInfo::SetDefaults(const AttributeSubject *atts)
{
    PyFFTAttributes_SetDefaults((const FFTAttributes *)atts);
}