source: trunk/Packages/ChronisPlatform/Demo/Modules/Test/UModuleTest.pas

Last change on this file was 5, checked in by chronos, 12 years ago
  • Added: Required packages.
File size: 1.1 KB
Line 
1unit UModuleTest;
2
3{$mode delphi}
4
5interface
6
7uses
8 Classes, SysUtils, FileUtil, UModularSystem;
9
10type
11 TDataModuleTest = class(TDataModule)
12 private
13 { private declarations }
14 public
15 { public declarations }
16 end;
17
18
19 { TModuleTest }
20
21 TModuleTest = class(TModule)
22 private
23 protected
24 procedure DoStart; override;
25 procedure DoStop; override;
26 public
27 constructor Create(Owner: TComponent); override;
28 destructor Destroy; override;
29 end;
30
31var
32 DataModuleTest: TDataModuleTest;
33
34implementation
35
36{$R *.lfm}
37
38resourcestring
39 STest = 'Test';
40 STestDescription = 'Test module for testing supported features';
41
42{ TModuleTest }
43
44procedure TModuleTest.DoStart;
45begin
46 inherited DoStart;
47end;
48
49procedure TModuleTest.DoStop;
50begin
51 inherited DoStop;
52end;
53
54constructor TModuleTest.Create(Owner: TComponent);
55begin
56 inherited Create(Owner);
57 Identification := 'Test';
58 Title := STest;
59 Author := 'Chronos';
60 License := 'GNU/LGPLv3';
61 Description.Add(STestDescription);
62end;
63
64destructor TModuleTest.Destroy;
65begin
66 inherited Destroy;
67end;
68
69end.
70
Note: See TracBrowser for help on using the repository browser.