// MagDoc.h : interface of the CMagGlassDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAGDOC_H__A8E1367D_3DA7_4BFF_BC50_8FEC8734E41E__INCLUDED_) #define AFX_MAGDOC_H__A8E1367D_3DA7_4BFF_BC50_8FEC8734E41E__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CMagGlassDoc : public CDocument { protected: // create from serialization only CMagGlassDoc(); DECLARE_DYNCREATE(CMagGlassDoc) // Operations public: CView * GetView(); // Attributes public: short m_nFormat; short m_nBits; short m_nQFactor; short m_nMultipage; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMagGlassDoc) public: virtual void Serialize(CArchive& ar); virtual BOOL OnNewDocument(); virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); virtual void OnCloseDocument(); //}}AFX_VIRTUAL // Implementation public: virtual ~CMagGlassDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CMagGlassDoc) afx_msg void OnFileSaveAs(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAGDOC_H__A8E1367D_3DA7_4BFF_BC50_8FEC8734E41E__INCLUDED_)