home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / c / wvplr1 / wpdemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-25  |  1.7 KB  |  63 lines

  1. #if !defined(__wpdemo_h)              // Sentry, use file only if it's not already included.
  2. #define __wpdemo_h
  3.  
  4. /*  Project wpdemo
  5.     Lighthouse Engineering
  6.     Copyright   1994 by Lighthouse Engineering.  All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    wpdemo.exe Application
  9.     FILE:         wpdemo.h
  10.     AUTHOR:       K. Scott Piel
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for wpDemoApp (TApplication).
  16. */
  17.  
  18.  
  19. #include <owl\owlpch.h>
  20. #pragma hdrstop
  21.  
  22. #include <owl\opensave.h>
  23.  
  24. #include "wpdemo.rh"            // Definition of all resources.
  25. #include "wavplayr.hpp"         // definition of WavePlayer class & resource constants
  26. #include "wavplayr.hh"            // help file context ids
  27.  
  28. //{{TApplication = wpDemoApp}}
  29. class wpDemoApp : public TApplication {
  30. private:
  31.     BOOL            HelpState;            // Has the help engine been used.
  32.     BOOL            ContextHelp;          // SHIFT-F1 state (context sensitive HELP)
  33.     HCURSOR         HelpCursor;           // Context sensitive help cursor
  34.     TWindow *Client;                      // Client window for the frame.
  35.     TOpenSaveDialog::TData FileData;      // Data to control open/saveas standard dialog.
  36.  
  37. public:
  38.     wpDemoApp ();
  39.     virtual ~wpDemoApp ();
  40.  
  41. //{{wpDemoAppVIRTUAL_BEGIN}}
  42. public:
  43.     virtual void InitMainWindow();
  44.     virtual int TermInstance (int status);
  45.     virtual BOOL CanClose ();
  46. //{{wpDemoAppVIRTUAL_END}}
  47.  
  48. //{{wpDemoAppRSP_TBL_BEGIN}}
  49. protected:
  50.     void SayNumbers ();
  51.     void PlayFile ();
  52.     void CmHelpAbout ();
  53.     void HelpInfo ();
  54.     void RegisterInfo ();
  55.     void HelpLicensing ();
  56.     void HelpReference ();
  57. //{{wpDemoAppRSP_TBL_END}}
  58.   DECLARE_RESPONSE_TABLE(wpDemoApp);
  59. };    //{{wpDemoApp}}
  60.  
  61.  
  62. #endif                                      // __wpdemo_h sentry.
  63.