home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c05 / lab07 / ex02 / diff.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.2 KB  |  47 lines

  1. // diff.h : main header file for the DIFF application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"       // main symbols
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // Forward References
  12. class CMainFrame;
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CDiffApp:
  16. // See diff.cpp for the implementation of this class
  17. //
  18.  
  19. class CDiffApp : public CWinApp
  20. {
  21. public:
  22.     CDiffApp();
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CDiffApp)
  27.     public:
  28.     virtual BOOL InitInstance();
  29.     //}}AFX_VIRTUAL
  30. public:
  31.     static CDiffApp * GetApp() {return (CDiffApp *)AfxGetApp(); }
  32.     CMainFrame * GetMainFrame() {return (CMainFrame *)m_pMainWnd; }
  33.  
  34. // Implementation
  35.  
  36.     //{{AFX_MSG(CDiffApp)
  37.     afx_msg void OnAppAbout();
  38.         // NOTE - the ClassWizard will add and remove member functions here.
  39.         //    DO NOT EDIT what you see in these blocks of generated code !
  40.     //}}AFX_MSG
  41.     DECLARE_MESSAGE_MAP()
  42.  
  43. };
  44.  
  45.  
  46. /////////////////////////////////////////////////////////////////////////////
  47.