home *** CD-ROM | disk | FTP | other *** search
/ Total C++ 2 / TOTALCTWO.iso / borland / mdidlg.pak / TEST.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  98 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1995, 1995 by Borland International, All Rights Reserved
  4. //
  5. // Filename:    Test.h
  6. //
  7. // Date:        27-Apr-95
  8. //
  9. // Description:
  10. //----------------------------------------------------------------------------
  11. #if !defined(Test_H)
  12. #define Test_H
  13.  
  14. #if !defined(OWL_APPLICAT_H)
  15. # include <owl/applicat.h>
  16. #endif
  17. #if !defined(OWL_MDI_H)
  18. # include <owl/mdi.h>
  19. #endif
  20. #if !defined(OWL_MDICHILD_H)
  21. # include <owl/mdichild.h>
  22. #endif
  23. #if !defined(OWL_HLPMANAG_H)
  24. # include <owl/hlpmanag.h>
  25. #endif
  26. #if !defined(OWL_DIALOG_H)
  27. # include <owl/dialog.h>
  28. #endif
  29.  
  30. #include "Test.rh"
  31. #include "helpids.hh"
  32.  
  33. //
  34. // class TTestApplication
  35. // ~~~~~ ~~~~~~~~~~~~~~~~
  36. class TTestApp : public TApplication, public THelpFileManager {
  37.   public:
  38.     TTestApp(const char far* name = 0);
  39.    ~TTestApp();
  40.  
  41.     void InitMainWindow();
  42.     void CmAbout();
  43.  
  44.   DECLARE_RESPONSE_TABLE(TTestApp);
  45. };
  46.  
  47.  
  48. //
  49. // class TAboutDialog
  50. // ~~~~~ ~~~~~~~~~~~~
  51. class TAboutDialog : public TDialog {
  52.   public:
  53.     TAboutDialog(TWindow* parent, TResId resId);
  54.  
  55.     void SetupWindow();
  56.     void CleanupWindow();
  57.  
  58.   DECLARE_HELPCONTEXT(TAboutDialog);
  59. };
  60.  
  61.  
  62. //
  63. // class TTestClient
  64. // ~~~~~ ~~~~~~~~~~~
  65. class TTestClient : public TMDIClient {
  66.   public:
  67.     TTestClient(TModule* module = 0);
  68.    ~TTestClient();
  69.  
  70.     void SetupWindow();
  71.     void CleanupWindow();
  72.  
  73.   protected:
  74.     void CmCreateChild();
  75.  
  76.   DECLARE_RESPONSE_TABLE(TTestClient);
  77.   DECLARE_HELPCONTEXT(TTestClient);
  78. };
  79.  
  80.  
  81. //
  82. // class TTestWindow
  83. // ~~~~~ ~~~~~~~~~~~
  84. class TTestWindow : public TWindow {
  85.   public:
  86.     TTestWindow(TWindow* parent, const char far* title = 0, TModule* module = 0);
  87.    ~TTestWindow();
  88.  
  89.     void SetupWindow();
  90.     void CleanupWindow();
  91.  
  92.   DECLARE_RESPONSE_TABLE(TTestWindow);
  93. };
  94.  
  95. #endif
  96.  
  97.  
  98.