home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c11 / lab04 / ex02 / baseline / gpsrcdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.2 KB  |  53 lines

  1. // gpsrcDoc.h : interface of the CGpsrcDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. //class CGpsSocket;
  5.  
  6. class CGpsrcDoc : public CDocument
  7. {
  8. protected: // create from serialization only
  9.     CGpsrcDoc();
  10.     DECLARE_DYNCREATE(CGpsrcDoc)
  11.  
  12. // Attributes
  13. public:
  14.     int m_curLonLat;
  15.     CStringArray m_LonLat;
  16.     CAsyncSocket* m_pSock;
  17.     CStringArray m_strings;
  18.  
  19.     void SendPosition();
  20.  
  21. // Operations
  22. public:
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CGpsrcDoc)
  27.     public:
  28.     virtual BOOL OnNewDocument();
  29.     virtual void Serialize(CArchive& ar);
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. public:
  34.     void DeleteContents();
  35.     virtual ~CGpsrcDoc();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:
  42.  
  43. // Generated message map functions
  44. protected:
  45.     //{{AFX_MSG(CGpsrcDoc)
  46.         // NOTE - the ClassWizard will add and remove member functions here.
  47.         //    DO NOT EDIT what you see in these blocks of generated code !
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.