- Timestamp:
- May 28, 2012, 11:39:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Specialized/SpecializedList.pas
r342 r367 148 148 TListMethod = class(TListMethodBase) 149 149 procedure CallAll; 150 procedure CallNotifyEvents(Sender: TObject); 150 end; 151 152 // TListNotifyEventBase<Integer, TNotifyEvent> 153 {$DEFINE TGListIndex := Integer} 154 {$DEFINE TGListItem := TNotifyEvent} 155 {$DEFINE TGList := TListNotifyEventBase} 156 {$DEFINE TGListSortCompare := TListNotifyEventSortCompare} 157 {$DEFINE TGListToStringConverter := TListNotifyEventToStringConverter} 158 {$DEFINE TGListFromStringConverter := TListNotifyEventFromStringConverter} 159 {$DEFINE TGListItemArray := TListNotifyEventItemArray} 160 {$DEFINE INTERFACE} 161 {$I 'GenericList.inc'} 162 163 // TListNotifyEvent<Integer, TNotifyEvent> 164 TListNotifyEvent = class(TListNotifyEventBase) 165 procedure CallAll(Sender: TObject); 151 166 end; 152 167 … … 269 284 {$I 'GenericList.inc'} 270 285 286 // TListNotifyEventBase<Integer, TNotifyEvent> 287 {$DEFINE TGListIndex := Integer} 288 {$DEFINE TGListItem := TNotifyEvent} 289 {$DEFINE TGList := TListNotifyEventBase} 290 {$DEFINE TGListSortCompare := TListNotifyEventSortCompare} 291 {$DEFINE TGListToStringConverter := TListNotifyEventToStringConverter} 292 {$DEFINE TGListFromStringConverter := TListNotifyEventFromStringConverter} 293 {$DEFINE TGListItemArray := TListNotifyEventItemArray} 294 {$DEFINE IMPLEMENTATION} 295 {$I 'GenericList.inc'} 296 271 297 272 298 function StrToStr(Value: string): string; … … 334 360 end; 335 361 336 procedure TList Method.CallNotifyEvents(Sender: TObject);362 procedure TListNotifyEvent.CallAll(Sender: TObject); 337 363 var 338 364 I: TGListIndex;
Note:
See TracChangeset
for help on using the changeset viewer.