#ifndef __OOL_XHELP_H__
#define __OOL_XHELP_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XHelpInstance                         */
/*                       derived from: XObject                               */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/



#include "xobject.h"

class XResourceLibrary;
class XResource;
class XFrameWindow;
class XProcess;

class _export_ XHelpInstance: public XObject
{
   private:
      HWND helpInstance;
   public:
      XHelpInstance( char * path, LONG helpTable, XProcess * p, char * title, XResourceLibrary * actionBarLib, XResourceLibrary * helpTableLib );
      virtual ~XHelpInstance();
      void AssociateWindow ( XFrameWindow * );
      void ShowHelpForHelp( void );
      void ShowHelpForId( LONG id );
      void ShowHelpIndex( void );
};


#endif
