Changeset 60 for trunk/Platform
- Timestamp:
- Apr 7, 2024, 11:26:09 PM (8 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platform/Base/PlatformBase.pas
r59 r60 1 unit UPlatformBase; 2 3 {$mode delphi} 1 unit PlatformBase; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UFileSystem, UKernel, syncobjs, UThreadEx, UMemory, 9 DateUtils, UDevice, Contnrs, Graphics, Forms, UScreen, UScheduler, UGraphics; 6 Classes, SysUtils, Kernel.FileSystem, Kernel.Core, syncobjs, ThreadEx, 7 Kernel.Memory, DateUtils, Kernel.Device, Generics.Collections, Graphics, Forms, 8 Kernel.Screen, Kernel.Scheduler, Kernel.Graphics; 10 9 11 10 type … … 71 70 DPI: Integer; 72 71 Canvas: TCanvas; 73 procedure GetSupportedModes(Modes: T ObjectList); override;72 procedure GetSupportedModes(Modes: TVideoModes); override; 74 73 procedure VideoMemoryChange; override; 75 74 constructor Create; override; … … 109 108 end; 110 109 111 procedure TDeviceVideoBase.GetSupportedModes(Modes: T ObjectList);110 procedure TDeviceVideoBase.GetSupportedModes(Modes: TVideoModes); 112 111 var 113 112 NewMode: TVideoMode; … … 158 157 destructor TDeviceVideoBase.Destroy; 159 158 begin 160 inherited Destroy;159 inherited; 161 160 end; 162 161 … … 172 171 destructor TBaseSerialDevice.Destroy; 173 172 begin 174 Lock.Free;175 inherited Destroy;173 FreeAndNil(Lock); 174 inherited; 176 175 end; 177 176 … … 195 194 destructor TBaseTask.Destroy; 196 195 begin 197 Thread.Free;198 inherited Destroy;196 FreeAndNil(Thread); 197 inherited; 199 198 end; 200 199 … … 244 243 constructor TBaseScheduler.Create; 245 244 begin 246 inherited Create;245 inherited; 247 246 TaskClass := TBaseTask; 248 247 end; … … 250 249 destructor TBaseScheduler.Destroy; 251 250 begin 252 inherited Destroy;251 inherited; 253 252 end; 254 253
Note:
See TracChangeset
for help on using the changeset viewer.