home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / include / xjavaapp.h < prev    next >
C/C++ Source or Header  |  1997-02-23  |  2KB  |  44 lines

  1. #ifndef __OOL_XJAVAAPP_H__
  2. #define __OOL_XJAVAAPP_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------- OS/2 Beta 1 */
  6. /*===========================================================================*/
  7. /*                              class: XJavaApplet                           */
  8. /*                       derived from: XControl                              */
  9. /*                        last update: 02/97                                 */
  10. /*                      programmed by: Thomas Bonk (thomas@ghecko.saar.de)   */
  11. /*===========================================================================*/
  12.  
  13. #include <xstring.h>
  14. #include <xjavaenv.h>
  15. #include <xcontrol.h>
  16.  
  17.  
  18.  
  19. class _export_ XJavaApplet : public XControl
  20. {
  21.         private:
  22.                 JEAPPLETHND hApplet;
  23.                 USHORT      ID;
  24.                 XWindow*    Owner;
  25.  
  26.         public:
  27.                 //ctor/dtor
  28.                          XJavaApplet(       XWindow* owner,
  29.                                             XRect*   rect,
  30.                                       const char*    documentURL,
  31.                                       const char*    code,
  32.                                             USHORT   id        = 0,
  33.                                             int      parmCount = 0,
  34.                                       const char**   parms     = 0  );
  35.                 virtual ~XJavaApplet();
  36.  
  37.                 int Start( void );
  38.                 int Stop( void );
  39.                 int Destroy( void );
  40. };
  41.  
  42. #endif
  43.  
  44.