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

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

#ifndef SaveCheckBoxHPP
#define SaveCheckBoxHPP
#include <Options.hpp>
#include <IniFiles.hpp>
#include <Registry.hpp>
#include <StdCtrls.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 Savecheckbox
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSaveCheckBox;
class PASCALIMPLEMENTATION TSaveCheckBox : public Stdctrls::TCheckBox 
{
	typedef Stdctrls::TCheckBox 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 TSaveCheckBox(Classes::TComponent* aOwner);
	__fastcall virtual ~TSaveCheckBox(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 TSaveCheckBox(HWND ParentWindow) : Stdctrls::TCheckBox(
		ParentWindow) { }
	
};

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

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