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

  1. #if !defined(__xpd3mdic_h)              // Sentry, use file only if it's not already included.
  2. #define __xpd3mdic_h
  3.  
  4. /*  Project xped3
  5.     
  6.     Copyright ⌐ 1993. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    xped3.exe Application
  9.     FILE:         xpd3mdic.h
  10.     AUTHOR:       
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for xped3MDIClient (TMDIClient).      
  16. */
  17.  
  18.  
  19. #include <owl\owlpch.h>
  20. #pragma hdrstop
  21.  
  22. #include <owl\opensave.h>
  23.  
  24. #include "xped3app.rh"            // Definition of all resources.
  25.  
  26.  
  27. //{{TMDIClient = xped3MDIClient}}
  28. class xped3MDIClient : public TMDIClient {
  29. public:
  30.     int                     ChildCount;                 // Number of child window created. 
  31.     TOpenSaveDialog::TData  FileData;                   // Data to control open/saveas standard dialog.
  32.  
  33.     xped3MDIClient ();
  34.     virtual ~xped3MDIClient ();
  35.  
  36.     void OpenFile (const char *fileName = 0);
  37.  
  38. private:
  39.     void LoadTextFile ();
  40.  
  41. //{{xped3MDIClientVIRTUAL_BEGIN}}
  42. protected:
  43.     virtual void SetupWindow ();
  44. //{{xped3MDIClientVIRTUAL_END}}
  45.  
  46. //{{xped3MDIClientRSP_TBL_BEGIN}}
  47. protected:
  48.     void CmFileNew ();
  49.     void CmFileOpen ();
  50. //{{xped3MDIClientRSP_TBL_END}}
  51. DECLARE_RESPONSE_TABLE(xped3MDIClient);
  52. };    //{{xped3MDIClient}}
  53.  
  54.  
  55. #endif                                      // __xpd3mdic_h sentry.
  56.