home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ocl150a.zip / OCL / Samples / GTakPM / Source / GTPMApp.hpp < prev    next >
C/C++ Source or Header  |  1996-08-12  |  914b  |  51 lines

  1. // GTakPM
  2. // (c) Benjamin Stein 1994
  3. // All Rights Reserved
  4. // GTPMApp.hpp
  5.  
  6. // $Header: W:/Projects/OCL/Samples/GTakPM/Source/rcs/GTPMApp.hpp 1.50 1996/08/11 23:48:07 B.STEIN Release $
  7.  
  8. #ifndef GTPMAPP_HPP_INCLUDED
  9.   #define GTPMAPP_HPP_INCLUDED
  10.  
  11.  
  12. #ifndef GTAKPM_HPP_INCLUDED
  13.   #include "..\Source\GTakPM.hpp"
  14. #endif
  15.  
  16.  
  17. class GTPMApp : public OXApp
  18. {
  19.  private:
  20.    OThread<GTPMApp> waitThread;
  21.  
  22.  public:
  23.  
  24.    GTPMApp          (const ULONG num,
  25.                      CHAR *parms[]);   
  26.    virtual
  27.      ~GTPMApp       ();
  28.  
  29.    virtual  
  30.       PSZ isOfType  () const 
  31.       { return("GTPMApp"); }
  32.  
  33.    void
  34.      initArgs       (PCSZ argStr),
  35.      wait           ();
  36.  
  37.    BOOL
  38.      TasklistKill   (),    // trap task list kills
  39.      ShutdownPosted ();    // trap shutdown message
  40.  
  41. // static
  42.  
  43.    static pGTPMApp GTakPM;
  44. };
  45.  
  46.  
  47.  
  48. #endif // GTPMAPP_HPP_INCLUDED
  49.  
  50. // end of source
  51.