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

// (DO NOT EDIT: machine generated header) 'SMProces.pas' rev: 37.00 (Windows)

#ifndef SMProcesHPP
#define SMProcesHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <System.UITypes.hpp>

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

namespace Smproces
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmSMRProcess;
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TSMRCallBack)(void);

class PASCALIMPLEMENTATION TfrmSMRProcess : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Comctrls::TProgressBar* ProgressBar;
	Vcl::Stdctrls::TButton* btnCancel;
	Vcl::Extctrls::TBevel* Bevel;
	Vcl::Comctrls::TAnimate* Animate;
	Vcl::Stdctrls::TLabel* lblStatus;
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall btnCancelClick(System::TObject* Sender);
	void __fastcall FormClose(System::TObject* Sender, System::Uitypes::TCloseAction &Action);
	void __fastcall FormActivate(System::TObject* Sender);
	
private:
	TSMRCallBack FCallBack;
	
public:
	bool CancelPressed;
	System::LongInt LangShift;
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSMRProcess(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSMRProcess(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmSMRProcess(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSMRProcess() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmSMRProcess(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE bool __fastcall CreateProgressDlg(System::LongInt intLangShift, System::UnicodeString strCaption, System::UnicodeString strMessage, System::UnicodeString strBtnCaption, System::LongInt MinValue, System::LongInt MaxValue, System::LongInt Progress);
extern DELPHI_PACKAGE bool __fastcall DestroyProgressDlg(void);
extern DELPHI_PACKAGE bool __fastcall UpdateProgressDlg(System::UnicodeString strMessage, System::LongInt Progress);
extern DELPHI_PACKAGE bool __fastcall ProgressCanceled(void);
extern DELPHI_PACKAGE void __fastcall ShowModalCallBack(TSMRCallBack Callback);
}	/* namespace Smproces */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMPROCES)
using namespace Smproces;
#endif
#pragma pack(pop)
#pragma option pop

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