public void InstallDelegates() { EIDelegate = this.OnExternalInterface; SF_SetExternalInterfaceDelegate(EIDelegate); AllocDelegate = new SF_AllocateDelegate(this.AllocateImpl); SF_SetAllocateValues(AllocDelegate); LogDelegate = new SF_LogDelegate(this.OnLogMessage); SF_SetLogDelegate(LogDelegate); DisplayInfoDelegate = new SF_DisplayInfoDelegate(this.AllocateDisplayInfo); SF_SetDisplayInfoDelegate(DisplayInfoDelegate); }
protected static extern void SF_SetExternalInterfaceDelegate(SF_ExternalInterfaceDelegate sf_eiDelegate);
private static extern void SF_SetExternalInterfaceDelegate(SF_ExternalInterfaceDelegate sf_eiDelegate);