// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Iwformwap.pas' rev: 10.00

#ifndef IwformwapHPP
#define IwformwapHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Iwvclcomponent.hpp>	// Pascal unit
#include <Iwvclclasses.hpp>	// Pascal unit
#include <Iwvclbasecontrol.hpp>	// Pascal unit
#include <Iwbasewapform.hpp>	// Pascal unit
#include <Iwwapinterfaces.hpp>	// Pascal unit
#include <Iwwapcontainerlayout.hpp>	// Pascal unit
#include <Iwstreams.hpp>	// Pascal unit
#include <Iwbaserendercontext.hpp>	// Pascal unit
#include <Iwapplication.hpp>	// Pascal unit
#include <Iwwaprendercontext.hpp>	// Pascal unit
#include <Iwfilereference.hpp>	// Pascal unit
#include <Iwcontainer.hpp>	// Pascal unit
#include <Iwbaseform.hpp>	// Pascal unit
#include <Iwformdsn.hpp>	// Pascal unit
#include <Iwvclbasecontainer.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Iwformwap
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIWFormWAP;
class PASCALIMPLEMENTATION TIWFormWAP : public Iwbasewapform::TIWBaseWAPForm 
{
	typedef Iwbasewapform::TIWBaseWAPForm inherited;
	
private:
	Iwwaprendercontext::TIWPageContextWAP* FPageContext;
	void __fastcall SetStyleSheet(const Iwfilereference::TIWFileReference* Value);
	
protected:
	bool FLeftToRight;
	Iwfilereference::TIWFileReference* FStyleSheet;
	Classes::TNotifyEvent FOnDefaultAction;
	AnsiString FDefaultActionName;
	void __fastcall DoDefaultAction(void);
	virtual Iwbaserendercontext::TIWContainerContext* __fastcall InitContainerContext(Iwapplication::TIWApplication* AWebApplication);
	virtual void __fastcall InitControl(void);
	virtual void __fastcall RenderComponents(Iwbaserendercontext::TIWContainerContext* AContainerContext, Iwbaserendercontext::TIWBasePageContext* APageContext);
	virtual void __fastcall InitDesignTime(void);
	__property Iwwaprendercontext::TIWPageContextWAP* PageContext = {read=FPageContext};
	
public:
	virtual void __fastcall Dispose(bool ADispose);
	__fastcall virtual TIWFormWAP(Classes::TComponent* AOwner);
	virtual void __fastcall ExecuteForm(void);
	virtual void __fastcall GenerateForm(Iwstreams::TIWRenderStream* AStream);
	
__published:
	void __fastcall set_LayoutMgr(const Iwwapcontainerlayout::TIWWapContainerLayout* Value);
	Iwwapcontainerlayout::TIWWapContainerLayout* __fastcall get_LayoutMgr(void);
	__property Classes::TNotifyEvent OnDefaultAction = {read=FOnDefaultAction, write=FOnDefaultAction};
	__property Iwwapcontainerlayout::TIWWapContainerLayout* LayoutMgr = {read=get_LayoutMgr, write=set_LayoutMgr};
	__property bool LeftToRight = {read=FLeftToRight, write=FLeftToRight, nodefault};
	__property Iwfilereference::TIWFileReference* StyleSheet = {read=FStyleSheet, write=SetStyleSheet};
	__property AnsiString DefaultActionName = {read=FDefaultActionName, write=FDefaultActionName};
public:
	#pragma option push -w-inl
	/* TIWBaseForm.CreateNew */ inline __fastcall virtual TIWFormWAP(Classes::TComponent* AOwner, const int ADummy) : Iwbasewapform::TIWBaseWAPForm(AOwner, ADummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWBaseForm.Destroy */ inline __fastcall virtual ~TIWFormWAP(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TIWFormWAP(HWND ParentWindow) : Iwbasewapform::TIWBaseWAPForm(ParentWindow) { }
	#pragma option pop
	
private:
	void *__IIWWapForm;	/* Iwwapinterfaces::IIWWapForm */
	
public:
	operator IIWWapContainer*(void) { return (IIWWapContainer*)&__IIWWapForm; }
	operator IIWWapForm*(void) { return (IIWWapForm*)&__IIWWapForm; }
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Iwformwap */
using namespace Iwformwap;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Iwformwap
