RWJpegExpDoc.h
Upload User: hbtiangong
Upload Date: 2009-03-29
Package Size: 255k
Code Size: 2k
Category:

Windows Develop

Development Platform:

Visual C++

  1. // RWJpegExpDoc.h : interface of the CRWJpegExpDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_RWJPEGEXPDOC_H__5625E0A2_02BC_4B09_80D5_8746103032AC__INCLUDED_)
  5. #define AFX_RWJPEGEXPDOC_H__5625E0A2_02BC_4B09_80D5_8746103032AC__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include"Dib.h"
  10. #include"Jpeg.h"
  11. class CRWJpegExpDoc : public CDocument
  12. {
  13. protected: // create from serialization only
  14. CRWJpegExpDoc();
  15. DECLARE_DYNCREATE(CRWJpegExpDoc)
  16. // Attributes
  17. public:
  18.   CDib * m_pDib;
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CRWJpegExpDoc)
  24. public:
  25. virtual BOOL OnNewDocument();
  26. virtual void Serialize(CArchive& ar);
  27. virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  28. virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. public:
  32. virtual ~CRWJpegExpDoc();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CRWJpegExpDoc)
  41. //afx_msg void OnFileOpen();
  42. afx_msg void OnFileSaveAs();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_RWJPEGEXPDOC_H__5625E0A2_02BC_4B09_80D5_8746103032AC__INCLUDED_)