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

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

#ifndef AHMTSpeakerSoundHPP
#define AHMTSpeakerSoundHPP
#include <AHMFreeware.hpp>
#include <Forms.hpp>
#include <Windows.hpp>
#include <Classes.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- 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
//-- end unit ----------------------------------------------------------------
#endif	// AHMTSpeakerSound
