#ifndef _TLIGHTPE_H_
#define _TLIGHTPE_H_
#include <dos.h>
typedef void interrupt(*IntHandler)(...);
typedef void interrupt(*Handler)(int,int);
const unsigned int MouseInterrupt 				= 0x0033;
const unsigned int MouseInit		 				= 0x0000;
const unsigned int MouseShowCursor  			= 0x0001;
const unsigned int MouseHideCursor				= 0x0002;

const unsigned int MouseLightPenEmulationOn  = 0x0013;
const unsigned int MouseLightPenEmulationOff	= 0x0014;

class TLightPen
{
	public:	TLightPen();
				~TLightPen();
				void SetReleaseHandler(Handler);
				Handler ClickHandler;
	private:	REGS rRegs;
				SREGS sRegs;


				// InternalClickHandeler();
};
extern TLightPen* LightPen;

#endif