home *** CD-ROM | disk | FTP | other *** search
- // FileVDoc.h : interface of the CFileViewDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CFileViewDoc : public CDocument
- {
- protected: // create from serialization only
- CFileViewDoc();
- DECLARE_DYNCREATE(CFileViewDoc)
-
- CPtrArray *lines;
- int maxLineLength;
-
- // Attributes
- public:
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFileViewDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CFileViewDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CFileViewDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- CPtrArray *GetLines() { return lines; }
- int GetMaxLineLength() { return maxLineLength; }
- };
-
- /////////////////////////////////////////////////////////////////////////////
-