/*==DIALOGS.H=========================================================*/ /* */ /* Module : DIALOGS */ /* */ /* Project : FINGER */ /* */ /* Description: About dialog box with copyright notice, */ /* Client dialog box with user name and host name, */ /* Server dialog box with finger server message */ /* */ /*--------------------------------------------------------------------*/ /* */ /* (c) Enter AG, Zrich, 1993 */ /* */ /*--------------------------------------------------------------------*/ /* */ /* Author(s) : Hartwig Thomas */ /* */ /* Started : 25. March 1993 */ /* */ /* Finished : 29. March 1993 */ /* */ /*--------------------------------------------------------------------*/ /* */ /* Modifications: */ /* */ /* AUTHOR | DATE | COMMENT */ /* ----------------|--------------|-------------------------------- */ /* | | */ /* | | */ /* */ /*====================================================================*/ #ifndef DIALOGS_DEF #define DIALOGS_DEF #ifndef __WINDOWS_H #define #endif #ifndef __OWL_H #include #endif #ifndef __STATIC_H #include #endif #ifndef __EDIT_H #include #endif /*====================================================================*/ /* AboutDlg class is for filling about box with version, author and */ /* copyright */ /*====================================================================*/ _CLASSDEF(TAboutDlg) class TAboutDlg : public TDialog { private: PTStatic pVersionStatic; PTStatic pAuthorStatic; PTStatic pCopyrightStatic; public: // constructor uses TDialog constructor and creates private members TAboutDlg(PTWindowsObject pParent, LPSTR lpDialogName); // destructor ~TAboutDlg(); // SetupWindow for putting texts virtual void SetupWindow(); }; // TAboutDlg class /*====================================================================*/ /* ClientDlg class is for prompting for user name and for host name */ /*====================================================================*/ _CLASSDEF(TClientDlg) class TClientDlg : public TDialog { private: PTEdit pUserNameEdit; PTEdit pHostNameEdit; LPSTR lpUserName; LPSTR lpHostName; public: // constructor uses TDialog constructor and creates private members TClientDlg(PTWindowsObject pParent, LPSTR lpDialogName, LPSTR lpUser, LPSTR lpHost); // destructor ~TClientDlg(); // SetupWindow for putting texts virtual void SetupWindow(); // Ok for getting texts virtual void Ok(RTMessage Msg); }; // TClientDlg class /*====================================================================*/ /* ServerDlg class is for prompting for finger message */ /*====================================================================*/ _CLASSDEF(TServerDlg) class TServerDlg : public TDialog { private: PTEdit pMessageEdit; LPSTR lpMessage; public: // constructor uses TDialog constructor and creates private members TServerDlg(PTWindowsObject pParent, LPSTR lpDialogName, LPSTR lpMsg); // destructor ~TServerDlg(); // SetupWindow for putting text virtual void SetupWindow(); // Ok for getting text virtual void Ok(RTMessage Msg); }; // TServerDlg class #endif /*--End DIALOGS.H-----------------------------------------------------*/