home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / tybc4 / xped1 / xped1app.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-12  |  1.3 KB  |  56 lines

  1. #if !defined(__xped1app_h)              // Sentry, use file only if it's not already included.
  2. #define __xped1app_h
  3.  
  4. /*  Project xped1
  5.     
  6.     Copyright ⌐ 1993. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    xped1.exe Application
  9.     FILE:         xped1app.h
  10.     AUTHOR:       
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for XpEd1App (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 "xped1app.rh"            // Definition of all resources.
  26.  
  27.  
  28. //{{TApplication = XpEd1App}}
  29. class XpEd1App : public TApplication {
  30. private:
  31.     TEditFile *Client;                                 // Client window for the frame.
  32.     TOpenSaveDialog::TData FileData;                    // Data to control open/saveas standard dialog.
  33.  
  34. public:
  35.     XpEd1App ();
  36.     virtual ~XpEd1App ();
  37.  
  38.     void OpenFile (const char *fileName = 0);
  39. //{{XpEd1AppVIRTUAL_BEGIN}}
  40. public:
  41.     virtual void InitMainWindow();
  42. //{{XpEd1AppVIRTUAL_END}}
  43.  
  44. //{{XpEd1AppRSP_TBL_BEGIN}}
  45. protected:
  46.     void CmFileNew ();
  47.     void CmFileOpen ();
  48.     void CmFileClose ();
  49.     void CmHelpAbout ();
  50. //{{XpEd1AppRSP_TBL_END}}
  51.   DECLARE_RESPONSE_TABLE(XpEd1App);
  52. };    //{{XpEd1App}}
  53.  
  54.  
  55. #endif                                      // __xped1app_h sentry.
  56.