Changeset 347
- Timestamp:
- Dec 26, 2024, 11:48:56 AM (15 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ItemList.pas
r346 r347 107 107 function GetCount: SizeInt; override; 108 108 public 109 type110 var111 109 NewId: Integer; 112 110 function GetName: string; 113 111 function GetItemFields: TItemFields; 114 112 function Remove(constref AValue: TItem): SizeInt; 115 function Add(constref AValue: TItem): SizeInt; 113 function Add(constref AValue: TItem): SizeInt; overload; 116 114 function CreateItem(Name: string = ''): T; virtual; 117 115 function CreateBaseItem(Name: string = ''): TItem; … … 255 253 {$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; 256 254 begin 257 Result := 0; 255 if GetInterface(IID, Obj) then Result := 0 256 else Result := E_NOINTERFACE; 258 257 end; 259 258 260 259 function TItemList<T>._AddRef: LongInt; {$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; 261 260 begin 262 Result := 0;261 Result := -1; 263 262 end; 264 263 265 264 function TItemList<T>._Release: LongInt; {$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; 266 265 begin 267 Result := 0;266 Result := -1; 268 267 end; 269 268
Note:
See TracChangeset
for help on using the changeset viewer.