Changeset 75 for trunk/Packages/CoolAudio/Playlist.pas
- Timestamp:
- Mar 26, 2024, 11:27:01 PM (8 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolAudio/Playlist.pas
r74 r75 1 unit UPlaylist; 2 3 {$mode delphi}{$H+} 1 unit Playlist; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, Contnrs, UAudioSystem;6 Classes, SysUtils, Generics.Collections, AudioSystem; 9 7 10 8 type … … 30 28 published 31 29 Player: TMediaPlayer; 32 Items: TObjectList ; // TObjectList<TPlaylistItem>30 Items: TObjectList<TPlaylistItem>; 33 31 property RandomOrder: Boolean read FRandomOrder write FRandomOrder; 34 32 property RepeatInfinitely: Boolean read FRepeatInfinitely … … 52 50 procedure TPlayList.Shuffle; 53 51 begin 54 55 52 end; 56 53 … … 84 81 begin 85 82 inherited; 86 Items := TObjectList .Create;83 Items := TObjectList<TPlaylistItem>.Create; 87 84 end; 88 85 89 86 destructor TPlayList.Destroy; 90 87 begin 91 Items.Free;92 inherited Destroy;88 FreeAndNil(Items); 89 inherited; 93 90 end; 94 91
Note:
See TracChangeset
for help on using the changeset viewer.