home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / tybc4 / xped2 / xped2app.h < prev    next >
C/C++ Source or Header  |  1994-02-12  |  1KB  |  62 lines

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