// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AHMTListHolder.pas' rev: 3.00

#ifndef AHMTListHolderHPP
#define AHMTListHolderHPP
#include <AHMSystemClass.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtlistholder
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMStrings;
class DELPHICLASS TAHMListHolder;
class DELPHICLASS TAHMStringLists;
class PASCALIMPLEMENTATION TAHMStringLists : public Classes::TCollection 
{
	typedef Classes::TCollection inherited;
	
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:
		
	/* TCollection.Destroy */ __fastcall virtual ~TAHMStringLists(void) { }
	
};

class PASCALIMPLEMENTATION TAHMListHolder : public Ahmsystemclass::TAHMSystemsComponent 
{
	typedef Ahmsystemclass::TAHMSystemsComponent 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;
	System::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 System::AnsiString __fastcall GetDisplayName(void);
	
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 System::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 */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtlistholder;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AHMTListHolder
