#ifndef __DIALOG_H__
#define __DIALOG_H__

extern int on_cw(int argc, char *argv[]);

extern int on_ccw(int argc, char *argv[]);

extern int on_button_down(int argc, char *argv[]);

extern int on_button_up(int argc, char *argv[]);

extern int on_conductivity(int argc, char *argv[]);

extern int on_rtd(int argc, char *argv[]);

class CDialog
{
public:
	virtual void OnCreat(void) = 0;
	virtual void OnEncoderCW(void);
	virtual void OnEncoderCCW(void);
	virtual void OnButtonDown(void);
	virtual void OnButtonUp(void);
	virtual void OnConductivity(void);
	virtual void OnRTD(void);

protected:
	CDialog(void);
};

extern CDialog *p_dialog;

#endif
