#if !defined(__alffntad_h)              // Sentry, use file only if it's not already included.
#define __alffntad_h
/*  Project Tec3270

	 SUBSYSTEM:    Tec3270.exe (Tec3270 application)
	 FILE:         alffntad.h
	 AUTHOR:       Alcindo Ferreira Filho

	 OVERVIEW:

    Tec3270AboutDlg  class definition.

    COPYRIGHT:    © 1998-2007
                  Alcindo Ferreira Filho
                  <alcindo@inttec.com.br>

    LICENSE:      Tec3270_License (docs/Tec3270_License.txt)
*/

#include <owl\owlpch.h>
#include "alffmsgs.h"
#include "alffdlg.h"

//{{ALFFDialog = Tec3270AboutDlg}}
class Tec3270AboutDlg : public ALFFDialog
{
 public:
	 Tec3270AboutDlg (TWindow *parent, TResId resId, TModule *module = 0);
	 virtual ~Tec3270AboutDlg ();
    char far* GetClassName() {return "Tec3270AboutDlg";}
//{{Tec3270AboutDlgVIRTUAL_BEGIN}}
public:
	 void SetupWindow ();
//{{Tec3270AboutDlgVIRTUAL_END}}
protected:
	 ALFFMsgs* pMsgs;
	 // Get the static text for the value based on VERSIONINFO.
	 TStatic *versionCtrl;
	 TStatic *copyrightCtrl;
	 TStatic *debugCtrl;

	 /* Get the static text for Tec3270 Remarks (17 lines ) */
	 TStatic *rmks1;
	 TStatic *rmks2;
	 TStatic *rmks3;
	 TStatic *rmks4;
	 TStatic *rmks5;
	 TStatic *rmks6;
	 TStatic *rmks7;
	 TStatic *rmks8;
	 TStatic *rmks9;
	 TStatic *rmks10;
	 TStatic *rmks11;
	 TStatic *rmks12;
	 TStatic *rmks13;
	 TStatic *rmks14;
	 TStatic *rmks15;
	 TStatic *rmks16;
	 TStatic *rmks17;

};    //{{Tec3270AboutDlg}}


// Reading the VERSIONINFO resource.
class ProjectRCVersion {
public:
	 ProjectRCVersion (TModule *module);
	 virtual ~ProjectRCVersion ();
    char far* GetClassName() {return "ProjectRCVersion";}
	 bool GetProductName (LPSTR &prodName);
	 bool GetProductVersion (LPSTR &prodVersion);
	 bool GetCopyright (LPSTR &copyright);
	 bool GetLegalTradeMarks (LPSTR &trademark);
	 bool GetDebug (LPSTR &debug);

protected:
	 LPBYTE      TransBlock;
	 void FAR    *FVData;

private:
	 // Don't allow this object to be copied.
	 ProjectRCVersion (const ProjectRCVersion &);
	 ProjectRCVersion & operator =(const ProjectRCVersion &);
};


#endif                                      // __alffntad_h sentry.
