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

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

#ifndef SaveListBoxHPP
#define SaveListBoxHPP
#include <Options.hpp>
#include <Encrypt.hpp>
#include <IniFiles.hpp>
#include <Registry.hpp>
#include <StdCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Savelistbox
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSaveListBox;
class PASCALIMPLEMENTATION TSaveListBox : public Stdctrls::TListBox 
{
	typedef Stdctrls::TListBox inherited;
	
private:
	Options::TOptions* fOptions;
	Classes::TNotifyEvent FOnSave;
	Classes::TNotifyEvent FOnRestore;
	Classes::TNotifyEvent FOnClear;
	void __fastcall _Save(void);
	void __fastcall _Restore(void);
	void __fastcall SaveToIni(void);
	void __fastcall RestoreFromIni(void);
	void __fastcall _LimitItems(void);
	
public:
	__fastcall virtual TSaveListBox(Classes::TComponent* aOwner);
	__fastcall virtual ~TSaveListBox(void);
	void __fastcall Save(void);
	void __fastcall Restore(void);
	void __fastcall ClearItems(void);
	
__published:
	__property Classes::TNotifyEvent OnSave = {read=FOnSave, write=FOnSave};
	__property Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};
	__property Classes::TNotifyEvent OnClear = {read=FOnClear, write=FOnClear};
	__property Options::TOptions* Options = {read=fOptions, write=fOptions};
public:
	/* TWinControl.CreateParented */ __fastcall TSaveListBox(HWND ParentWindow) : Stdctrls::TListBox(ParentWindow
		) { }
	
};

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

}	/* namespace Savelistbox */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Savelistbox;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// SaveListBox
