// CodeGear C++Builder
// Copyright (c) 1995, 2011 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SMIEBldr.pas' rev: 23.00 (Win32)

#ifndef SmiebldrHPP
#define SmiebldrHPP

#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 <Winapi.Windows.hpp>	// Pascal unit
#include <Winapi.Messages.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <Vcl.Graphics.hpp>	// Pascal unit
#include <Vcl.Controls.hpp>	// Pascal unit
#include <Vcl.Forms.hpp>	// Pascal unit
#include <Vcl.StdCtrls.hpp>	// Pascal unit
#include <Vcl.ExtCtrls.hpp>	// Pascal unit
#include <SMIPars.hpp>	// Pascal unit
#include <System.Types.hpp>	// Pascal unit

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

namespace Smiebldr
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmSMIExpBuilder;
class PASCALIMPLEMENTATION TfrmSMIExpBuilder : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Stdctrls::TMemo* memoExpression;
	Vcl::Controls::TImageList* imgList;
	Vcl::Extctrls::TPanel* pnlLists;
	Vcl::Extctrls::TImage* imgData;
	Vcl::Stdctrls::TButton* btnPlus;
	Vcl::Stdctrls::TButton* btnMinus;
	Vcl::Stdctrls::TButton* btnMul;
	Vcl::Stdctrls::TButton* btnDiv;
	Vcl::Stdctrls::TButton* btnEQ;
	Vcl::Stdctrls::TButton* btnGT;
	Vcl::Stdctrls::TButton* btnLT;
	Vcl::Stdctrls::TButton* btnNE;
	Vcl::Stdctrls::TButton* btnAND;
	Vcl::Stdctrls::TButton* btnOR;
	Vcl::Stdctrls::TButton* btnNOT;
	Vcl::Stdctrls::TButton* btnLParen;
	Vcl::Stdctrls::TButton* btnRParen;
	Vcl::Stdctrls::TLabel* lblHint;
	Vcl::Stdctrls::TListBox* lbType;
	Vcl::Stdctrls::TListBox* lbSubType;
	Vcl::Stdctrls::TListBox* lbValue;
	Vcl::Stdctrls::TLabel* lblHintBody;
	Vcl::Stdctrls::TButton* btnOk;
	Vcl::Stdctrls::TButton* btnCancel;
	Vcl::Stdctrls::TButton* btnValidate;
	void __fastcall ValueAdd(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall lbTypeClick(System::TObject* Sender);
	void __fastcall lbSubTypeClick(System::TObject* Sender);
	void __fastcall lbValueClick(System::TObject* Sender);
	void __fastcall lbTypeDrawItem(Vcl::Controls::TWinControl* Control, int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
	void __fastcall btnValidateClick(System::TObject* Sender);
	void __fastcall FormResize(System::TObject* Sender);
	
private:
	void __fastcall FillItems(System::Classes::TStrings* lstFrom, System::Classes::TStrings* lstTo, int intIndex);
	System::UnicodeString __fastcall GetPureFunc(System::UnicodeString s, int Mode);
	
protected:
	MESSAGE void __fastcall WMMinMaxInfo(Winapi::Messages::TWMGetMinMaxInfo &Msg);
	
public:
	System::Classes::TStrings* lstSubType;
	System::Classes::TStrings* lstValue;
	bool IsHumanNames;
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSMIExpBuilder(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSMIExpBuilder(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSMIExpBuilder(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmSMIExpBuilder(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall ExpressionBuilder(System::UnicodeString &Expression, System::Classes::TList* DataSets, System::Classes::TStrings* SourceColumns, Smipars::TSMIParameters* Variables, bool UseHumanNames);

}	/* namespace Smiebldr */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMIEBLDR)
using namespace Smiebldr;
#endif
#pragma pack(pop)
#pragma option pop

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