//====START_GENERATED_PROLOG======================================
//
//
//   COMPONENT_NAME: odother
//
//   CLASSES: none
//
//   ORIGINS: 27
//
//
//   (C) COPYRIGHT International Business Machines Corp. 1995,1996
//   All Rights Reserved
//   Licensed Materials - Property of IBM
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
//   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//   OR PERFORMANCE OF THIS SOFTWARE.
//
//====END_GENERATED_PROLOG========================================
//
// @(#) 1.1 nt/src/samples/JavaPart/applet.h, odjavapart, od96nt, odnt9712d 10/23/96 03:06:00 [ 3/21/97 17:41:02 ]

#ifndef IBMSample_APPLET
#define IBMSample_APPLET

#ifndef SOM_JavaPart_xh
#include "IODJava.xh"
#endif

#include <windows.h>

extern "C" {
	#include "JEmpower.h"
}

class AppletTag;

class Applet {
public:
	Applet (JavaPart* part, AppletTag* tag);
	~Applet ();

	void Init ();
	void Start ();
	void Stop ();
	void Resize (int width, int height);

	static void ShowConsole ();
	static void HideConsole ();

	AppletTag* GetAppletTag ();

private:
	JavaPart*   fJavaPart;
	JEAPPLETHND fApplet;

	AppletTag*  fAppletTag;
};

#endif /* IBMSample_APPLET */
