nsITimer interface

Doug Turner <[email protected]> Thu, 29 Aug 2002 18:06:50 -0700
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Doug Turner wrote:
> I want to freeze an interface which will allow a simply timers mechanism 
> in Mozilla. The nsIScriptableTimer interface does exactly what is 
> required.  The only draw back is that one must implement an nsIObserver 
> interface to receive the timer notification.  (There is no method on 
> this interface that takes a function pointer).  I kind of like this from 
> the oo standpoint, but wanted to get a feel for what others think.  I 
> haven’t found any place in the Mozilla code where that would be 
> extremely hard to do, so I doubt that this would be major problem for 
> most embedders.
> 
> Please consider this interface and add any comments to bug 157136.
> 
> Doug Turner
> [email protected]
> 
> 

We have drifted pretty far away from freezing nsIScriptable timer's. 
Check out the nsITimer interface in this bug:

http://bugzilla.mozilla.org/show_bug.cgi?id=157136

Doug Turner
[email protected]