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

// (DO NOT EDIT: machine generated header) 'USheetNameList.pas' rev: 5.00

#ifndef USheetNameListHPP
#define USheetNameListHPP

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

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

namespace Usheetnamelist
{
//-- type declarations -------------------------------------------------------
struct TWideContainer
{
	WideString S;
	int n;
} ;

typedef TWideContainer *PWideContainer;

class DELPHICLASS TSheetNameList;
class PASCALIMPLEMENTATION TSheetNameList : public Classes::TList 
{
	typedef Classes::TList inherited;
	
protected:
	virtual void __fastcall Notify(void * Ptr, Classes::TListNotification Action);
	WideString __fastcall GetFullName(const WideString S, const int N);
	
public:
	HIDESBASE void __fastcall Add(const WideString aName);
	WideString __fastcall AddUniqueName(const WideString aName);
	void __fastcall DeleteSheet(const WideString SheetName);
	void __fastcall Rename(const WideString OldName, const WideString NewName);
	virtual bool __fastcall FindRootString(const WideString S, int &Index);
	virtual bool __fastcall FindFullString(const WideString S, int &Index);
public:
	#pragma option push -w-inl
	/* TList.Destroy */ inline __fastcall virtual ~TSheetNameList(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TSheetNameList(void) : Classes::TList() { }
	#pragma option pop
	
};


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

}	/* namespace Usheetnamelist */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Usheetnamelist;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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