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

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