/*************************************************************************\
* "$RCSfile: CDlgAppV.hpp,v $"                                            *
***************************************************************************
* Information by CVS or VSS:                                              *
*     Last check in on: $Date: 2009/11/12 17:08:48 $                      *
*     by                $Author: schluckebier $
*     Revision        : $Revision: 1.7 $                                  *
\*************************************************************************/
/*! \file CDlgAppV.hpp
*	\brief Header CDlgApp Class (Virtual)
**************************************************************************/

/*************************************************************************/
/*! @brief Class for implementing a User Application

	Provides the user interface and a container for a SDK user application.
	@image html CDlgApp.png
	The dialog of CDlgApp is non-modal. The constructor of CDlgApp is
	called by the application framework as well as the other public
	functions. The function OnUserIO() processes the user inputs, OnImage()
	is the master function for image processing. All user interface
	related functions run as a part of the task task_main(). Only the
	function OnImage() is called by the task CPSApp::TaskPSGrab().
**************************************************************************/
class CDlgApp: public CDlg
{
public:
	CDlgApp(int x, int y, int Width, int Height);
	~CDlgApp();
	int OnUserIO(int nKey);
	int OnImage(YIMAGE *pSrc, CIMAGE *pDst);
};

extern CDlgApp *pDlgApp;

/*************************************************************************/
