Changeset 60 for trunk/Platform/Base


Ignore:
Timestamp:
Apr 7, 2024, 11:26:09 PM (8 months ago)
Author:
chronos
Message:
  • Modified: Remove U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Platform/Base/PlatformBase.pas

    r59 r60  
    1 unit UPlatformBase;
    2 
    3 {$mode delphi}
     1unit PlatformBase;
    42
    53interface
    64
    75uses
    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;
    109
    1110type
     
    7170    DPI: Integer;
    7271    Canvas: TCanvas;
    73     procedure GetSupportedModes(Modes: TObjectList); override;
     72    procedure GetSupportedModes(Modes: TVideoModes); override;
    7473    procedure VideoMemoryChange; override;
    7574    constructor Create; override;
     
    109108end;
    110109
    111 procedure TDeviceVideoBase.GetSupportedModes(Modes: TObjectList);
     110procedure TDeviceVideoBase.GetSupportedModes(Modes: TVideoModes);
    112111var
    113112  NewMode: TVideoMode;
     
    158157destructor TDeviceVideoBase.Destroy;
    159158begin
    160   inherited Destroy;
     159  inherited;
    161160end;
    162161
     
    172171destructor TBaseSerialDevice.Destroy;
    173172begin
    174   Lock.Free;
    175   inherited Destroy;
     173  FreeAndNil(Lock);
     174  inherited;
    176175end;
    177176
     
    195194destructor TBaseTask.Destroy;
    196195begin
    197   Thread.Free;
    198   inherited Destroy;
     196  FreeAndNil(Thread);
     197  inherited;
    199198end;
    200199
     
    244243constructor TBaseScheduler.Create;
    245244begin
    246   inherited Create;
     245  inherited;
    247246  TaskClass := TBaseTask;
    248247end;
     
    250249destructor TBaseScheduler.Destroy;
    251250begin
    252   inherited Destroy;
     251  inherited;
    253252end;
    254253
Note: See TracChangeset for help on using the changeset viewer.