//====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.2 nt/src/samples/JavaPart/tag.h, odjavapart, od96nt, odnt9714c 3/19/97 04:00:03 [ 4/2/97 17:55:03 ]

#ifndef IBMSample_TAG
#define IBMSample_TAG

class AppletTag {
public:
	AppletTag ();
	AppletTag (AppletTag& tag);
	AppletTag (char* filename);
	AppletTag (char* url, char* code, char* codebase, char** args,
		   int width, int height);

	~AppletTag ();

	void SetUrl (char* url);
	void SetCode (char* code);
	void SetCodeBase (char* codeBase);
	void SetArgs (char** args);

	AppletTag& operator=(AppletTag& tag);

	char*  fUrl;
	char*  fCode;
	char*  fCodeBase;

	long   fNumArgs;
	char** fArgs;

	long   fWidth;
	long   fHeight;
private:
	void Initialize ();
	void Convert (char* string, char oldChar, char newChar);
};


class BeanTag {
public:
	BeanTag ();
	BeanTag (BeanTag& tag);
	BeanTag (char* className);
      BeanTag (char* className, int width, int height);

	~BeanTag ();

	void SetBeanClassName (char* className);

	BeanTag& operator=(BeanTag& tag);

	char*  fClassName;

	long   fWidth;
	long   fHeight;
};

#endif /* IBMSample_TAG */
