home *** CD-ROM | disk | FTP | other *** search
- // mfcdedoc.h : interface of the CMfcdemoDoc class
- // Copyright (C) 1990, 1998 LEAD Technologies, Inc.
- // All rights reserved.
-
-
- class CMfcdemoDoc : public CDocument
- {
- protected: // create from serialization only
- CMfcdemoDoc();
- DECLARE_DYNCREATE(CMfcdemoDoc)
-
- // Attributes
- public:
-
-
- // Operations
- public:
-
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMfcdemoDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void OnCloseDocument();
- #ifdef WIN32
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- #else
- virtual BOOL OnSaveDocument(const char *lpszPathName);
- virtual BOOL OnOpenDocument(const char *lpszPathName);
- #endif
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CMfcdemoDoc();
- virtual void Serialize(CArchive& ar); // overridden for document i/o
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
-
- //{{AFX_MSG(CMfcdemoDoc)
- // 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:
- BOOL OnOpenFile();
- BOOL OnOpenColorMerge();
- BOOL OnOpenTwain();
- BOOL OnOpenBitmap();
- BOOL OnOpenCapture();
- BOOL OnOpenPaste();
-
- CLeadContainer m_LeadContainer;
- CLead m_Lead;
- CLead m_Lead2;
- CLead m_LeadUndo;
- };
-
- /////////////////////////////////////////////////////////////////////////////
-