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

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

#ifndef AHMTSpeakerSoundHPP
#define AHMTSpeakerSoundHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <AHMFreeware.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtspeakersound
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMSpeakerSound;
class PASCALIMPLEMENTATION TAHMSpeakerSound : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr FAbout;
	bool fenab;
	bool fdenab;
	void __fastcall Stop(void);
	void __fastcall PlayS(Word Freq);
	void __fastcall SetPort(Word address, Word value);
	Word __fastcall GetPort(Word address);
	
public:
	__fastcall virtual TAHMSpeakerSound(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMSpeakerSound(void);
	void __fastcall Delay(int MSecs);
	void __fastcall Sound(Word Freq);
	void __fastcall NoSound(void);
	
__published:
	__property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property bool SoundEnabled = {read=fenab, write=fenab, nodefault};
	__property bool DelayEnabled = {read=fdenab, write=fdenab, nodefault};
};


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

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

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