1
0

CreateDirectory.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //----------------------------------------------------------------------------
  2. #ifndef CreateDirectoryH
  3. #define CreateDirectoryH
  4. //----------------------------------------------------------------------------
  5. #include "Rights.h"
  6. #include "RightsExt.h"
  7. #include <System.Classes.hpp>
  8. #include <Vcl.Controls.hpp>
  9. #include <Vcl.ExtCtrls.hpp>
  10. #include <Vcl.Forms.hpp>
  11. #include <Vcl.StdCtrls.hpp>
  12. //----------------------------------------------------------------------------
  13. #include <Bookmarks.h>
  14. #include "RightsExt.h"
  15. #include "Rights.h"
  16. //----------------------------------------------------------------------------
  17. class TCreateDirectoryDialog : public TForm
  18. {
  19. __published:
  20. TButton *OKBtn;
  21. TButton *CancelBtn;
  22. TEdit *DirectoryEdit;
  23. TLabel *EditLabel;
  24. TButton *HelpButton;
  25. TPanel *MorePanel;
  26. TGroupBox *AttributesGroup;
  27. TRightsExtFrame *RightsFrame;
  28. TCheckBox *SetRightsCheck;
  29. TCheckBox *SaveSettingsCheck;
  30. void __fastcall ControlChange(TObject *Sender);
  31. void __fastcall DirectoryEditChange(TObject *Sender);
  32. void __fastcall FormShow(TObject *Sender);
  33. void __fastcall HelpButtonClick(TObject *Sender);
  34. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  35. public:
  36. __fastcall TCreateDirectoryDialog(TComponent* AOwner, int AllowedChanges, bool Remote);
  37. virtual __fastcall ~TCreateDirectoryDialog();
  38. bool __fastcall Execute(UnicodeString & Directory, TRemoteProperties * Properties,
  39. bool & SaveSettings);
  40. protected:
  41. void __fastcall UpdateControls();
  42. private:
  43. int FAllowedChanges;
  44. };
  45. //----------------------------------------------------------------------------
  46. #endif