home *** CD-ROM | disk | FTP | other *** search
/ Instant Doom Levels / Instant.Doom.Levels.-.Level.Master.II.iso / EDITORS / ZIPPED / WSCDEU52.ZIP / INCLUDE / WINDEAPP.H < prev    next >
C/C++ Source or Header  |  1995-03-05  |  3KB  |  76 lines

  1. /*----------------------------------------------------------------------------*
  2.  | This file is part of WinDEU, the port of DEU to Windows.                   |
  3.  | WinDEU was created by the DEU team:                                        |
  4.  |  Renaud Paquay, Raphael Quinet, Brendon Wyber and others...                |
  5.  |                                                                            |
  6.  | DEU is an open project: if you think that you can contribute, please join  |
  7.  | the DEU team.  You will be credited for any code (or ideas) included in    |
  8.  | the next version of the program.                                           |
  9.  |                                                                            |
  10.  | If you want to make any modifications and re-distribute them on your own,  |
  11.  | you must follow the conditions of the WinDEU license. Read the file        |
  12.  | LICENSE or README.TXT in the top directory.  If do not  have a copy of     |
  13.  | these files, you can request them from any member of the DEU team, or by   |
  14.  | mail: Raphael Quinet, Rue des Martyrs 9, B-4550 Nandrin (Belgium).         |
  15.  |                                                                            |
  16.  | This program comes with absolutely no warranty.  Use it at your own risks! |
  17.  *----------------------------------------------------------------------------*
  18.  
  19.     Project WinDEU
  20.     DEU team
  21.     Jul-Dec 1994, Jan-Mar 1995
  22.  
  23.     FILE:         windeapp.h
  24.  
  25.     OVERVIEW
  26.     ========
  27.     Class definition for WinDEUApp (TApplication).
  28. */
  29. #if !defined(__windeapp_h)              // Sentry, use file only if it's not already included.
  30. #define __windeapp_h
  31.  
  32. #ifndef __common_h
  33.     #include "common.h"
  34. #endif
  35.  
  36. #ifndef __windeu_h
  37.     #include "windeu.h"
  38. #endif
  39.  
  40. //{{TApplication = WinDEUApp}}
  41. class WinDEUApp : public TApplication
  42. {
  43. private:
  44.     int argc;
  45.     char **argv;
  46.     BOOL            HelpState;      // Has the help engine been used.
  47.     BOOL            ContextHelp;    // SHIFT-F1 state (context sensitive HELP)
  48.     HCURSOR         HelpCursor;     // Context sensitive help cursor
  49.  
  50. public:
  51.     WinDEUApp (int _argc, char **_argv);
  52.     virtual ~WinDEUApp ();
  53.     void AppHelp(UINT command, DWORD data);
  54.  
  55. //{{WinDEUAppVIRTUAL_BEGIN}}
  56. public:
  57.     virtual void InitInstance ();
  58.     virtual void InitMainWindow();
  59.     virtual BOOL CanClose ();
  60.     virtual BOOL ProcessAppMsg (MSG& msg);
  61. //{{WinDEUAppVIRTUAL_END}}
  62.  
  63. //{{WinDEUAppRSP_TBL_BEGIN}}
  64. protected:
  65.     void CmHelpContents ();
  66.     void CmHelpSearch ();
  67.     void CmHelpUsingHelp ();
  68.     void CmHelpAbout ();
  69.     void CmHelpTutorial ();
  70. //{{WinDEUAppRSP_TBL_END}}
  71. DECLARE_RESPONSE_TABLE(WinDEUApp);
  72. };    //{{WinDEUApp}}
  73.  
  74.  
  75. #endif                                      // __windeapp_h sentry.
  76.