[fpc-pascal] Timers in FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Thu May 31 16:17:11 CEST 2007

On 5/31/07, Michael Van Canneyt <michael at freepascal.org> wrote:
> Do you mind if I split up the implementation like this:
> TTimer               - Exposes all needed properties, events. Delegates work to TTimerDriver.
> TTimerDriver         - Abstract class which has 2 methods and a property to do the actual work.
> TThreadedTimerDriver - TTimerDriver Descendent which uses your implementation to do the actual work.
> and then I add this to the FCL as unit fpTimer ?

No problem, that's fine by me....

> This would allow the LCL to implement a TTimerDriver descendent
> which integrates nicely in the LCL. The actually used driver is

Would you mind explaining this a bit more?  What would the LCL do
differently, "integrates nicely"?

Graeme Geldenhuys

General error, hit any user to continue.

More information about the fpc-pascal mailing list