source: trunk/Packages/Kernel/Kernel.App.pas

Last change on this file was 60, checked in by chronos, 8 months ago
  • Modified: Remove U prefix from unit names.
File size: 538 bytes
Line 
1unit Kernel.App;
2
3interface
4
5uses
6 Classes, SysUtils, Kernel.List, Kernel.API, Kernel.Scheduler;
7
8type
9 { TApp }
10
11 TApp = class(TNamedObject)
12 API: TUserApi;
13 Terminated: Boolean;
14 constructor Create; virtual;
15 destructor Destroy; override;
16 procedure Run(Task: TTask); virtual;
17 end;
18
19
20implementation
21
22{ TApp }
23
24constructor TApp.Create;
25begin
26 inherited Create;
27 API := TUserApi.Create;
28end;
29
30destructor TApp.Destroy;
31begin
32 API.Free;
33 inherited Destroy;
34end;
35
36procedure TApp.Run(Task: TTask);
37begin
38
39end;
40
41
42end.
43
Note: See TracBrowser for help on using the repository browser.