// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ahmtspeakersound.pas' rev: 6.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:
	AnsiString 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 AnsiString 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 */
using namespace Ahmtspeakersound;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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