home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / APXMDI.PAK / APXMDABD.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.6 KB  |  61 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxMdi
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxMdi Application
  7. //  FILE:         apxmdabd.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TApxMdiAboutDlg (TDialog).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(apxmdabd_h)              // Sentry, use file only if it's not already included.
  16. #define apxmdabd_h
  17.  
  18. #include <owl/static.h>
  19.  
  20. #include "apxmdapp.rh"                  // Definition of all resources.
  21.  
  22.  
  23. //{{TDialog = TApxMdiAboutDlg}}
  24. class TApxMdiAboutDlg : public TDialog {
  25.   public:
  26.     TApxMdiAboutDlg(TWindow* parent, TResId resId = IDD_ABOUT, TModule* module = 0);
  27.     virtual ~TApxMdiAboutDlg();
  28.  
  29. //{{TApxMdiAboutDlgVIRTUAL_BEGIN}}
  30.   public:
  31.     void SetupWindow();
  32. //{{TApxMdiAboutDlgVIRTUAL_END}}
  33. };    //{{TApxMdiAboutDlg}}
  34.  
  35.  
  36. // Reading the VERSIONINFO resource.
  37. //
  38. class TProjectRCVersion {
  39.   public:
  40.     TProjectRCVersion(TModule* module);
  41.     virtual ~TProjectRCVersion();
  42.  
  43.     bool GetProductName(LPSTR& prodName);
  44.     bool GetProductVersion(LPSTR& prodVersion);
  45.     bool GetCopyright(LPSTR& copyright);
  46.     bool GetDebug(LPSTR& debug);
  47.  
  48.   protected:
  49.     uint8 far*  TransBlock;
  50.     void far*   FVData;
  51.  
  52.   private:
  53.     // Don't allow this object to be copied.
  54.     //
  55.     TProjectRCVersion(const TProjectRCVersion&);
  56.     TProjectRCVersion& operator = (const TProjectRCVersion&);
  57. };
  58.  
  59.  
  60. #endif  // apxmdabd_h sentry.
  61.