home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c016 / 3.ddi / CORFIRST.PAK / FRSTPPAP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-07  |  1.5 KB  |  59 lines

  1. #if !defined(__frstppap_h)              // Sentry, use file only if it's not already included.
  2. #define __frstppap_h
  3.  
  4. /*  Project firstapp
  5.     
  6.     Copyright ⌐ 1993. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    firstapp.exe Application
  9.     FILE:         frstppap.h
  10.     AUTHOR:       
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for firstappApp (TApplication).      
  16. */
  17.  
  18.  
  19. #include <owl\owlpch.h>
  20. #pragma hdrstop
  21.  
  22. #include <owl\editfile.h>
  23. #include <owl\opensave.h>
  24.  
  25. #include "frstppap.rh"            // Definition of all resources.
  26. #include "tdocdlg.h"
  27.  
  28. //{{TApplication = firstappApp}}
  29. class firstappApp : public TApplication {
  30. private:
  31.      TEditFile *Client;                                 // Client window for the frame.
  32.      TOpenSaveDialog::TData FileData;                    // Data to control open/saveas standard dialog.
  33.      TDocDlg* DocDlg;
  34. public:
  35.      firstappApp ();
  36.      virtual ~firstappApp ();
  37.  
  38.      long AppHand, Revision;
  39.     void OpenFile (const char *fileName = 0);
  40. //{{firstappAppVIRTUAL_BEGIN}}
  41. public:
  42.     virtual void InitMainWindow();
  43.     virtual void InitInstance ();
  44. //{{firstappAppVIRTUAL_END}}
  45.  
  46. //{{firstappAppRSP_TBL_BEGIN}}
  47. protected:
  48.     void CmFileNew ();
  49.     void CmFileOpen ();
  50.     void CmFileClose ();
  51.     void CmHelpAbout ();
  52.     void CmExit ();
  53. //{{firstappAppRSP_TBL_END}}
  54.   DECLARE_RESPONSE_TABLE(firstappApp);
  55. };    //{{firstappApp}}
  56.  
  57.  
  58. #endif                                      // __frstppap_h sentry.
  59.