home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / apps / winaping / winapdoc.h < prev    next >
Text File  |  2002-02-28  |  2KB  |  59 lines

  1. // winapdoc.h : interface of the CWinapingDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #include "pinginfo.h"
  6. #include "aping.h"
  7.  
  8. class CWinapingDoc : public CDocument
  9. {
  10. protected: // create from serialization only
  11.         CWinapingDoc();
  12.         DECLARE_DYNCREATE(CWinapingDoc)
  13.  
  14. // Attributes
  15. public:
  16.         Aping*   aping;
  17.         PingInfo pingInfo;       // info from setup dialog
  18.  
  19.         DWORD    alloctime;
  20.         DWORD    confirmtime;
  21.         CString  partner;
  22.  
  23.         CString  cmcall;
  24.         CString  cmrcmsg;
  25.         BOOL     stoprunning;
  26.         unsigned char cm_conv_id[8];  // conv id for CPIC calls
  27.         unsigned char *buffer;        // ptr to data buffer for send/rcv
  28. // Operations
  29. public:
  30.  
  31. // Overrides
  32.         // ClassWizard generated virtual function overrides
  33.         //{{AFX_VIRTUAL(CWinapingDoc)
  34.         public:
  35.         virtual BOOL OnNewDocument();
  36.         //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. public:
  40.         virtual ~CWinapingDoc();
  41.         virtual void Serialize(CArchive& ar);   // overridden for document i/o
  42. #ifdef _DEBUG
  43.         virtual void AssertValid() const;
  44.         virtual void Dump(CDumpContext& dc) const;
  45. #endif
  46.  
  47. protected:
  48.  
  49. // Generated message map functions
  50. protected:
  51.         //{{AFX_MSG(CWinapingDoc)
  52.                 // NOTE - the ClassWizard will add and remove member functions here.
  53.                 //    DO NOT EDIT what you see in these blocks of generated code !
  54.         //}}AFX_MSG
  55.         DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59.