home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using Visual C++ 4 (Special Edition)
/
Using_Visual_C_4_Special_Edition_QUE_1996.iso
/
ch05
/
filevdoc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-30
|
1KB
|
51 lines
// 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; }
};
/////////////////////////////////////////////////////////////////////////////