// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'abSecEdit.pas' rev: 5.00

#ifndef abSecEditHPP
#define abSecEditHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Mask.hpp>	// Pascal unit
#include <ActnList.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <abSecurity.hpp>	// Pascal unit
#include <ToolWin.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <ImgList.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <DsgnIntf.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Absecedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TevSecurityTemplateEditor;
class PASCALIMPLEMENTATION TevSecurityTemplateEditor : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TButton* btnOK;
	Stdctrls::TButton* btnCancel;
	Controls::TImageList* ilActions;
	Extctrls::TImage* img1;
	Extctrls::TImage* img2;
	Comctrls::TToolBar* ToolBar1;
	Buttons::TSpeedButton* SpeedButton1;
	Buttons::TSpeedButton* SpeedButton2;
	Extctrls::TPanel* pnlParent;
	Actnlist::TActionList* ActionList2;
	Actnlist::TAction* actNewHierarchicalNode;
	Actnlist::TAction* actDeleteNode;
	Menus::TPopupMenu* pmnuNode;
	Menus::TMenuItem* mnuNewNode;
	Menus::TMenuItem* mnuDeleteNode;
	Actnlist::TAction* actNewCheckableNode;
	Actnlist::TAction* actChangeId;
	Menus::TMenuItem* mnuNewCheckableNode;
	Extctrls::TPanel* pnlId;
	Mask::TMaskEdit* edtSecurityId;
	void __fastcall ToolButton1Click(System::TObject* Sender);
	void __fastcall ToolButton2Click(System::TObject* Sender);
	void __fastcall tvDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState 
		State, bool &Accept);
	void __fastcall tvDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
	void __fastcall tvStartDrag(System::TObject* Sender, Controls::TDragObject* &DragObject);
	void __fastcall tvEndDrag(System::TObject* Sender, System::TObject* Target, int X, int Y);
	void __fastcall actNewHierarchicalNodeUpdate(System::TObject* Sender);
	void __fastcall actNewHierarchicalNodeExecute(System::TObject* Sender);
	void __fastcall actDeleteNodeExecute(System::TObject* Sender);
	void __fastcall ftvSecurityTemplateEditing(System::TObject* Sender, Comctrls::TTreeNode* Node, bool 
		&AllowEdit);
	void __fastcall ftvSecurityTemplateEdited(System::TObject* Sender, Comctrls::TTreeNode* Node, AnsiString 
		&S);
	void __fastcall ftvSecurityTemplateChange(System::TObject* Sender, Comctrls::TTreeNode* Node);
	void __fastcall actNewCheckableNodeExecute(System::TObject* Sender);
	void __fastcall edtSecurityIdKeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift
		);
	
private:
	Comctrls::TTreeNode* fDraggedNode;
	Absecurity::TabSecurityTemplate* ftvSecurityTemplate;
	Absecurity::TabSecurity* fSecurityObject;
	
public:
	__fastcall virtual TevSecurityTemplateEditor(Classes::TComponent* AOwner);
	__fastcall virtual ~TevSecurityTemplateEditor(void);
public:
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TevSecurityTemplateEditor(Classes::TComponent* 
		AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TevSecurityTemplateEditor(HWND ParentWindow) : Forms::TForm(
		ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TevSecurityTemplateProperty;
class PASCALIMPLEMENTATION TevSecurityTemplateProperty : public Dsgnintf::TPropertyEditor 
{
	typedef Dsgnintf::TPropertyEditor inherited;
	
public:
	virtual void __fastcall Edit(void);
	virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
protected:
	#pragma option push -w-inl
	/* TPropertyEditor.Create */ inline __fastcall virtual TevSecurityTemplateProperty(const Dsgnintf::_di_IFormDesigner 
		ADesigner, int APropCount) : Dsgnintf::TPropertyEditor(ADesigner, APropCount) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TPropertyEditor.Destroy */ inline __fastcall virtual ~TevSecurityTemplateProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TevSecurityTemplateEdit;
class PASCALIMPLEMENTATION TevSecurityTemplateEdit : public Dsgnintf::TComponentEditor 
{
	typedef Dsgnintf::TComponentEditor inherited;
	
public:
	virtual void __fastcall Edit(void);
	virtual void __fastcall ExecuteVerb(int Index);
	virtual AnsiString __fastcall GetVerb(int Index);
	virtual int __fastcall GetVerbCount(void);
public:
	#pragma option push -w-inl
	/* TComponentEditor.Create */ inline __fastcall virtual TevSecurityTemplateEdit(Classes::TComponent* 
		AComponent, Dsgnintf::_di_IFormDesigner ADesigner) : Dsgnintf::TComponentEditor(AComponent, ADesigner
		) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TevSecurityTemplateEdit(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);

}	/* namespace Absecedit */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Absecedit;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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