I call this method in the plugin e.g. in a loop. 

This allow me to check internal status of the plugin or to fire event when some 
calculations are performed





Le 26 déc. 2010 à 14:27, Alfred Van Hoek a écrit :

> 
> 
> On Dec 26, 2010, at 5:26 AM, Didier CUGY wrote:
> 
>> //   Evenement applicatif
>> void WT_Event(WTClassData *me, char *infos)
>> {
>> void (*fp)(REALobject instance, REALstring) ;
>> REALstring   theString ;
>> 
>>      if(me->instance) {
>>      
>>              theString = REALBuildString(infos, strlen(infos)) ;
>> 
>>              fp = (void (*)(REALobject, REALstring)) 
>> REALGetEventInstance((REALcontrolInstance) me->instance, &WTClassEvents[0]) ;
>>      
>>              if (fp) fp(me->instance, theString) ; else  WTMessage("fp = 
>> nil") ;
>> 
>>      }
>> }
> 
> 
> How and where do you call this method? 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
> 


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to