// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ahmtlistholder.pas' rev: 6.00

#ifndef ahmtlistholderHPP
#define ahmtlistholderHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmsystemclass.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Ahmtlistholder
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMStrings;
class DELPHICLASS TAHMListHolder;
class DELPHICLASS TAHMStringLists;
class PASCALIMPLEMENTATION TAHMStringLists : public Ahmsystemclass::TAHMCollection 
{
	typedef Ahmsystemclass::TAHMCollection inherited;
	
public:
	TAHMStrings* operator[](int Index) { return Items[Index]; }
	
private:
	TAHMListHolder* FAHMListHolder;
	TAHMStrings* __fastcall GeTAHMStrings(int Index);
	void __fastcall SeTAHMStrings(int Index, TAHMStrings* Value);
	
protected:
	DYNAMIC Classes::TPersistent* __fastcall GetOwner(void);
	
public:
	__fastcall TAHMStringLists(TAHMListHolder* AOwner);
	HIDESBASE TAHMStrings* __fastcall Add(void);
	__property TAHMStrings* Items[int Index] = {read=GeTAHMStrings, write=SeTAHMStrings/*, default*/};
public:
	#pragma option push -w-inl
	/* TCollection.Destroy */ inline __fastcall virtual ~TAHMStringLists(void) { }
	#pragma option pop
	
};


class PASCALIMPLEMENTATION TAHMListHolder : public Ahmsystemclass::TAHMSystemComponent 
{
	typedef Ahmsystemclass::TAHMSystemComponent inherited;
	
private:
	TAHMStringLists* FAHMStrings;
	void __fastcall SetAHMStrings(TAHMStringLists* Value);
	
public:
	__fastcall virtual TAHMListHolder(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMListHolder(void);
	
__published:
	__property TAHMStringLists* Lists = {read=FAHMStrings, write=SetAHMStrings};
};


class PASCALIMPLEMENTATION TAHMStrings : public Classes::TCollectionItem 
{
	typedef Classes::TCollectionItem inherited;
	
private:
	Classes::TStrings* FStrings;
	TAHMListHolder* FAHMListHolder;
	AnsiString FListName;
	void __fastcall SeTStrings(Classes::TStrings* Value);
	void __fastcall SetDuplicates(const Classes::TDuplicates Value);
	void __fastcall SetSorted(const bool Value);
	Classes::TDuplicates __fastcall GetDuplicates(void);
	bool __fastcall GetSorted(void);
	
protected:
	virtual AnsiString __fastcall GetDisplayName();
	
public:
	__fastcall virtual TAHMStrings(Classes::TCollection* Collection);
	__fastcall virtual ~TAHMStrings(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	__property TAHMListHolder* Owner = {read=FAHMListHolder};
	
__published:
	__property AnsiString ListName = {read=FListName, write=FListName};
	__property Classes::TStrings* Items = {read=FStrings, write=SeTStrings};
	__property bool Sorted = {read=GetSorted, write=SetSorted, default=0};
	__property Classes::TDuplicates Duplicates = {read=GetDuplicates, write=SetDuplicates, default=0};
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Ahmtlistholder */
using namespace Ahmtlistholder;
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// ahmtlistholder
