home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 038 / dho_9a.zip / APPLICAT.H < prev    next >
Text File  |  1994-10-12  |  762b  |  38 lines

  1. // Developer Helper Object Set, (C) 1994 Thomas E. Bednarz, Jr.
  2. //  All rights reserved
  3.  
  4.  
  5. #ifndef __APPLICAT_H__
  6. #define __APPLICAT_H__
  7.  
  8. #define INCL_GPI
  9. #define INCL_WIN
  10. #include <os2.h>
  11. #include<iostream.h>
  12. #include"object.h"
  13. #include"process.h"
  14. #include"window.h"
  15.  
  16.  
  17. class TApplication : public TObject
  18. {
  19.    protected:
  20.       TProcess *Proc;
  21.       QMSG     QueMsg;
  22.       ULONG fResource;
  23.       TWinBase  *MainWin;
  24.    public:
  25.     TApplication(ULONG resource);
  26.     void init(void);
  27.     void run(void);
  28.     void done(void);
  29.     virtual const char *getClassName(void);
  30.     virtual void CreateMainWindow(void);
  31.     HAB getAnchorBlock(void);
  32.     TWinBase *getMainWindow(void);
  33. };
  34.  
  35. TApplication *Application;
  36.  
  37. #endif //applicat.h
  38.