Changeset 83 for branches/Transpascal/UProject.pas
- Timestamp:
- Oct 31, 2010, 9:40:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/UProject.pas
r82 r83 2 2 3 3 {$mode objfpc}{$H+} 4 {$MACRO ON} 4 5 5 6 interface 6 7 7 8 uses 8 Classes, SysUtils, ListObject,Dialogs, DOM, XMLWrite, XMLRead, FileUtil;9 Classes, SysUtils, Dialogs, DOM, XMLWrite, XMLRead, FileUtil; 9 10 10 11 type … … 22 23 end; 23 24 25 26 // TListProjectNode = TGObjectList<Integer, TProjectNode> 27 {$DEFINE TGObjectListIndex := Integer} 28 {$DEFINE TGObjectListItem := TProjectNode} 29 {$DEFINE TGObjectListList := TObjectListProjectNode} 30 {$DEFINE TGObjectList := TListProjectNode} 31 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode} 32 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode} 33 {$DEFINE INTERFACE} 34 {$I 'GenericObjectList.inc'} 35 24 36 { TProjectFile } 25 37 … … 37 49 38 50 TProjectGroup = class(TProjectNode) 39 Items: TList Object;51 Items: TListProjectNode; 40 52 constructor Create; 41 53 destructor Destroy; override; … … 61 73 implementation 62 74 75 76 {$DEFINE IMPLEMENTATION_USES} 77 {$INCLUDE 'GenericObjectList.inc'} 78 79 // TListProjectNode = TGObjectList<Integer, TProjectNode> 80 {$DEFINE TGObjectListIndex := Integer} 81 {$DEFINE TGObjectListItem := TProjectNode} 82 {$DEFINE TGObjectListList := TObjectListProjectNode} 83 {$DEFINE TGObjectList := TListProjectNode} 84 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode} 85 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode} 86 {$DEFINE IMPLEMENTATION} 87 {$INCLUDE 'GenericObjectList.inc'} 88 63 89 { TProjectGroup } 64 90 … … 66 92 begin 67 93 inherited; 68 Items := TList Object.Create;94 Items := TListProjectNode.Create; 69 95 end; 70 96
Note:
See TracChangeset
for help on using the changeset viewer.