summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-11 09:13:32 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-11 09:13:32 +0200
commitf05da3dee5dd4f22a44e035fc07bdf6b3acb3c2a (patch)
tree7fabf2aa8a314bbf3b278893ffc8d8a95d8d14ec /src/corelib
parent5904b43982ee3ffd636a71c4538650ce9b49e264 (diff)
downloadfpGUI-f05da3dee5dd4f22a44e035fc07bdf6b3acb3c2a.tar.xz
TfpgTimer constructor and Reset can now be extended in descendants
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/fpg_main.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index cdec3a9b..b2988182 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -289,10 +289,10 @@ type
procedure SetInterval(const AValue: integer);
public
{ AInterval is in milliseconds. }
- constructor Create(ainterval: integer);
+ constructor Create(ainterval: integer); virtual;
destructor Destroy; override;
procedure CheckAlarm(ctime: TDateTime);
- procedure Reset;
+ procedure Reset; virtual;
property Enabled: boolean read FEnabled write SetEnabled;
property NextAlarm: TDateTime read FNextAlarm;
{ Interval is in milliseconds. }