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

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

#ifndef SaveEditHPP
#define SaveEditHPP
#include <Options.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 Saveedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSaveEdit;
class PASCALIMPLEMENTATION TSaveEdit : public Stdctrls::TEdit 
{
	typedef Stdctrls::TEdit inherited;
	
private:
	Classes::TNotifyEvent FOnSave;
	Classes::TNotifyEvent FOnRestore;
	Options::TSimpleOptions* fOptions;
	void __fastcall _Save(void);
	void __fastcall _Restore(void);
	void __fastcall SaveToIni(void);
	void __fastcall RestoreFromIni(void);
	
public:
	__fastcall virtual TSaveEdit(Classes::TComponent* aOwner);
	__fastcall virtual ~TSaveEdit(void);
	void __fastcall Save(void);
	void __fastcall Restore(void);
	
__published:
	__property Options::TSimpleOptions* Options = {read=fOptions, write=fOptions};
	__property Classes::TNotifyEvent OnSave = {read=FOnSave, write=FOnSave};
	__property Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};
public:
	/* TWinControl.CreateParented */ __fastcall TSaveEdit(HWND ParentWindow) : Stdctrls::TEdit(ParentWindow
		) { }
	
};

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

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