home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / pstoedit.zip / source.zip / pstoedit.2.50 / src / bc5gui / winp2ead.h < prev    next >
C/C++ Source or Header  |  1996-12-12  |  2KB  |  61 lines

  1. //----------------------------------------------------------------------------
  2. //  Project Winp2e
  3. //  
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    Winp2e Application
  7. //  FILE:         winp2ead.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TWinp2eAboutDlg (TDialog).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(winp2ead_h)              // Sentry, use file only if it's not already included.
  16. #define winp2ead_h
  17.  
  18. #include <owl/static.h>
  19.  
  20. #include "winp2eap.rh"                  // Definition of all resources.
  21.  
  22.  
  23. //{{TDialog = TWinp2eAboutDlg}}
  24. class TWinp2eAboutDlg : public TDialog {
  25.   public:
  26.     TWinp2eAboutDlg(TWindow* parent, TResId resId = IDD_ABOUT, TModule* module = 0);
  27.     virtual ~TWinp2eAboutDlg();
  28.  
  29. //{{TWinp2eAboutDlgVIRTUAL_BEGIN}}
  30.   public:
  31.     void SetupWindow();
  32. //{{TWinp2eAboutDlgVIRTUAL_END}}
  33. };    //{{TWinp2eAboutDlg}}
  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  // winp2ead_h sentry.
  61.