OperationStatus.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //---------------------------------------------------------------------------
  2. #ifndef OperationStatusH
  3. #define OperationStatusH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <SecureShell.h>
  11. //---------------------------------------------------------------------------
  12. class TOperationStatusForm : public TForm
  13. {
  14. __published:
  15. TLabel *StatusLabel;
  16. TBevel *Bevel1;
  17. private:
  18. TSecureShell * FSecureShell;
  19. void * FShowAsModalStorage;
  20. TNotifyEvent FPrevOnUpdateStatus;
  21. void __fastcall SetSecureShell(TSecureShell * value);
  22. void __fastcall SetStatus(const AnsiString value);
  23. AnsiString __fastcall GetStatus();
  24. public:
  25. __fastcall TOperationStatusForm(TComponent* Owner);
  26. virtual __fastcall ~TOperationStatusForm();
  27. void __fastcall HideAsModal();
  28. void __fastcall ShowAsModal();
  29. void __fastcall SecureShellUpdateStatus(TObject * Sender);
  30. __property TSecureShell * SecureShell = { read = FSecureShell, write = SetSecureShell };
  31. __property AnsiString Status = { read = GetStatus, write = SetStatus };
  32. };
  33. //---------------------------------------------------------------------------
  34. #endif