Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

void nsITimer::initWithCallback ( in nsITimerCallback  aCallback,
in unsigned long  aDelay,
in unsigned long  aType 

Initialize a timer to fire after the given millisecond interval. This version takes a function to call and a closure to pass to that function.

aFunc nsITimerCallback interface to call when timer expires
aDelay The millisecond interval
aType Timer type per TYPE* consts defined above

Generated by  Doxygen 1.6.0   Back to index