Preferences.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. //----------------------------------------------------------------------------
  2. #ifndef PreferencesH
  3. #define PreferencesH
  4. //----------------------------------------------------------------------------
  5. #include "ComboEdit.hpp"
  6. #include "UpDownEdit.hpp"
  7. #include <System.Classes.hpp>
  8. #include <Vcl.ComCtrls.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.ExtCtrls.hpp>
  11. #include <Vcl.Forms.hpp>
  12. #include <Vcl.Mask.hpp>
  13. #include <Vcl.StdCtrls.hpp>
  14. //----------------------------------------------------------------------------
  15. #include "UpDownEdit.hpp"
  16. #include <Dialogs.hpp>
  17. #include <PasTools.hpp>
  18. #include "HistoryComboBox.hpp"
  19. #include <WinInterface.h>
  20. #include <Vcl.Imaging.pngimage.hpp>
  21. #include <Vcl.Menus.hpp>
  22. //----------------------------------------------------------------------------
  23. class TCustomCommandList;
  24. class TEditorList;
  25. //----------------------------------------------------------------------------
  26. class TPreferencesDialog : public TForm
  27. {
  28. __published:
  29. TButton *OKButton;
  30. TButton *CloseButton;
  31. TPanel *MainPanel;
  32. TPageControl *PageControl;
  33. TTabSheet *PreferencesSheet;
  34. TGroupBox *CommonPreferencesGroup;
  35. TCheckBox *ConfirmOverwritingCheck;
  36. TCheckBox *ConfirmDeletingCheck;
  37. TCheckBox *ConfirmClosingSessionCheck;
  38. TCheckBox *DDTransferConfirmationCheck;
  39. TCheckBox *ContinueOnErrorCheck;
  40. TTabSheet *LogSheet;
  41. TTabSheet *GeneralSheet;
  42. TLabel *InterfaceChangeLabel;
  43. TTabSheet *PanelsSheet;
  44. TGroupBox *PanelsRemoteDirectoryGroup;
  45. TCheckBox *ShowInaccesibleDirectoriesCheck;
  46. TGroupBox *PanelsCommonGroup;
  47. TCheckBox *ShowHiddenFilesCheck;
  48. TCheckBox *DefaultDirIsHomeCheck;
  49. TTabSheet *CommanderSheet;
  50. TLabel *Label3;
  51. TGroupBox *PanelsGroup;
  52. TCheckBox *PreserveLocalDirectoryCheck;
  53. TGroupBox *CommanderMiscGroup;
  54. TCheckBox *UseLocationProfilesCheck;
  55. TGroupBox *CompareCriterionsGroup;
  56. TCheckBox *CompareByTimeCheck;
  57. TCheckBox *CompareBySizeCheck;
  58. TTabSheet *ExplorerSheet;
  59. TLabel *Label4;
  60. TGroupBox *GroupBox2;
  61. TCheckBox *ShowFullAddressCheck;
  62. TTabSheet *EditorSheet;
  63. TGroupBox *EditorPreferenceGroup;
  64. TGroupBox *InternalEditorGroup;
  65. TLabel *EditorFontLabel;
  66. TButton *EditorFontButton;
  67. TTabSheet *IntegrationSheet;
  68. TGroupBox *ShellIconsGroup;
  69. TButton *DesktopIconButton;
  70. TButton *QuickLaunchIconButton;
  71. TButton *SendToHookButton;
  72. TTabSheet *CustomCommandsSheet;
  73. TGroupBox *CustomCommandsGroup;
  74. TListView *CustomCommandsView;
  75. TButton *AddCommandButton;
  76. TButton *RemoveCommandButton;
  77. TButton *UpCommandButton;
  78. TButton *DownCommandButton;
  79. TButton *EditCommandButton;
  80. TPanel *LeftPanel;
  81. TTreeView *NavigationTree;
  82. TCheckBox *DeleteToRecycleBinCheck;
  83. TButton *RegisterAsUrlHandlersButton;
  84. TTabSheet *DragDropSheet;
  85. TGroupBox *DragDropDownloadsGroup;
  86. TLabel *DDExtEnabledLabel;
  87. TLabel *DDExtDisabledLabel;
  88. TRadioButton *DDExtEnabledButton;
  89. TRadioButton *DDExtDisabledButton;
  90. TPanel *DDExtDisabledPanel;
  91. TCheckBox *DDWarnLackOfTempSpaceCheck;
  92. TCheckBox *DDWarnOnMoveCheck;
  93. TCheckBox *ConfirmExitOnCompletionCheck;
  94. TTabSheet *QueueSheet;
  95. TGroupBox *QueueGroup;
  96. TUpDownEdit *QueueTransferLimitEdit;
  97. TLabel *Label5;
  98. TGroupBox *QueueViewGroup;
  99. TRadioButton *QueueViewShowButton;
  100. TRadioButton *QueueViewHideWhenEmptyButton;
  101. TRadioButton *QueueViewHideButton;
  102. TCheckBox *QueueAutoPopupCheck;
  103. TCheckBox *QueueCheck;
  104. TCheckBox *DDAllowMoveInitCheck;
  105. TCheckBox *ConfirmResumeCheck;
  106. TTabSheet *StorageSheet;
  107. TGroupBox *StorageGroup;
  108. TRadioButton *RegistryStorageButton;
  109. TRadioButton *IniFileStorageButton2;
  110. TGroupBox *NotificationsGroup;
  111. TCheckBox *BeepOnFinishCheck;
  112. TUpDownEdit *BeepOnFinishAfterEdit;
  113. TLabel *BeepOnFinishAfterText;
  114. TTabSheet *TransferEnduranceSheet;
  115. TGroupBox *ResumeBox;
  116. TLabel *ResumeThresholdUnitLabel2;
  117. TRadioButton *ResumeOnButton;
  118. TRadioButton *ResumeSmartButton;
  119. TRadioButton *ResumeOffButton;
  120. TUpDownEdit *ResumeThresholdEdit;
  121. TCheckBox *ConfirmCommandSessionCheck;
  122. TGroupBox *TemporaryDirectoryGrouo;
  123. TRadioButton *DDSystemTemporaryDirectoryButton;
  124. TRadioButton *DDCustomTemporaryDirectoryButton;
  125. TDirectoryEdit *DDTemporaryDirectoryEdit;
  126. TLabel *Label6;
  127. TCheckBox *TemporaryDirectoryCleanupCheck;
  128. TCheckBox *ConfirmTemporaryDirectoryCleanupCheck;
  129. TGroupBox *OtherStorageGroup;
  130. TLabel *RandomSeedFileLabel;
  131. TFilenameEdit *RandomSeedFileEdit;
  132. TCheckBox *SwappedPanelsCheck;
  133. TCheckBox *PreservePanelStateCheck;
  134. TButton *AddSearchPathButton;
  135. TCheckBox *QueueNoConfirmationCheck;
  136. TCheckBox *EditorWordWrapCheck;
  137. TGroupBox *PathInCaptionGroup;
  138. TRadioButton *PathInCaptionFullButton;
  139. TRadioButton *PathInCaptionShortButton;
  140. TRadioButton *PathInCaptionNoneButton;
  141. TTabSheet *UpdatesSheet;
  142. TGroupBox *UpdatesGroup;
  143. TGroupBox *UpdatesProxyGroup;
  144. TLabel *UpdatesProxyHostLabel;
  145. TLabel *UpdatesProxyPortLabel;
  146. TUpDownEdit *UpdatesProxyPortEdit;
  147. TEdit *UpdatesProxyHostEdit;
  148. TRadioButton *UpdatesProxyCheck;
  149. TTabSheet *CopyParamListSheet;
  150. TGroupBox *CopyParamListGroup;
  151. TListView *CopyParamListView;
  152. TButton *AddCopyParamButton;
  153. TButton *RemoveCopyParamButton;
  154. TButton *UpCopyParamButton;
  155. TButton *DownCopyParamButton;
  156. TButton *EditCopyParamButton;
  157. TButton *DuplicateCopyParamButton;
  158. TCheckBox *CopyParamAutoSelectNoticeCheck;
  159. TButton *HelpButton;
  160. TGroupBox *ThemeGroup;
  161. TLabel *Label7;
  162. TComboBox *ThemeCombo;
  163. TListView *EditorListView3;
  164. TButton *AddEditorButton;
  165. TButton *EditEditorButton;
  166. TButton *UpEditorButton;
  167. TButton *DownEditorButton;
  168. TButton *RemoveEditorButton;
  169. TGroupBox *DoubleClickGroup;
  170. TCheckBox *CopyOnDoubleClickConfirmationCheck;
  171. TLabel *DoubleClickActionLabel;
  172. TComboBox *DoubleClickActionCombo;
  173. TLabel *Label8;
  174. TComboBox *NortonLikeModeCombo;
  175. TStaticText *ShellIconsText2;
  176. TCheckBox *FullRowSelectCheck;
  177. TGroupBox *SessionReopenGroup;
  178. TLabel *SessionReopenAutoLabel;
  179. TCheckBox *SessionReopenAutoCheck;
  180. TLabel *SessionReopenAutoSecLabel;
  181. TUpDownEdit *SessionReopenAutoEdit;
  182. TTabSheet *WindowSheet;
  183. TCheckBox *AutoReadDirectoryAfterOpCheck;
  184. TCheckBox *ConfirmRecyclingCheck;
  185. TGroupBox *WindowMiscellaneousGroup;
  186. TCheckBox *MinimizeToTrayCheck;
  187. TCheckBox *BalloonNotificationsCheck;
  188. TTabSheet *IntegrationAppSheet;
  189. TGroupBox *ExternalAppsGroup;
  190. TLabel *PuttyPathLabel;
  191. THistoryComboBox *PuttyPathEdit;
  192. TCheckBox *PuttyPasswordCheck2;
  193. TCheckBox *AutoOpenInPuttyCheck;
  194. TButton *PuttyPathBrowseButton;
  195. TCheckBox *TelnetForFtpInPuttyCheck;
  196. TRadioButton *UpdatesDirectCheck;
  197. TRadioButton *UpdatesAutoCheck;
  198. TLabel *Label9;
  199. TUpDownEdit *EditorTabSizeEdit;
  200. TCheckBox *ConfirmTransferringCheck;
  201. TGroupBox *UpdatesOptionsGroup;
  202. TCheckBox *QueueIndividuallyCheck;
  203. TCheckBox *SessionReopenAutoIdleCheck;
  204. TCheckBox *RenameWholeNameCheck;
  205. TCheckBox *TreeOnLeftCheck;
  206. TCheckBox *TemporaryDirectoryAppendSessionCheck;
  207. TCheckBox *TemporaryDirectoryAppendPathCheck;
  208. TLabel *SessionReopenTimeoutLabel;
  209. TUpDownEdit *SessionReopenTimeoutEdit;
  210. TLabel *SessionReopenTimeoutSecLabel;
  211. TTabSheet *SecuritySheet;
  212. TGroupBox *MasterPasswordGroup;
  213. TButton *SetMasterPasswordButton;
  214. TCheckBox *UseMasterPasswordCheck;
  215. TTabSheet *NetworkSheet;
  216. TGroupBox *ExternalIpAddressGroupBox;
  217. TRadioButton *RetrieveExternalIpAddressButton;
  218. TRadioButton *CustomExternalIpAddressButton;
  219. TEdit *CustomExternalIpAddressEdit;
  220. TCheckBox *SessionReopenAutoStallCheck;
  221. TLabel *SessionReopenAutoStallLabel;
  222. TUpDownEdit *SessionReopenAutoStallEdit;
  223. TLabel *SessionReopenAutoStallSecLabel;
  224. TCheckBox *EnableQueueByDefaultCheck;
  225. TLabel *Label11;
  226. TComboBox *EditorEncodingCombo;
  227. TCheckBox *RefreshRemotePanelCheck;
  228. TUpDownEdit *RefreshRemotePanelIntervalEdit;
  229. TLabel *RefreshRemoteDirectoryUnitLabel;
  230. TLabel *Label12;
  231. TComboBox *UpdatesPeriodCombo;
  232. TLabel *UpdatesBetaVersionsLabel;
  233. TComboBox *UpdatesBetaVersionsCombo;
  234. TCheckBox *CollectUsageCheck;
  235. TButton *UsageViewButton;
  236. TTabSheet *PanelRemoteSheet;
  237. TGroupBox *WorkspacesGroup;
  238. TCheckBox *AutoSaveWorkspaceCheck;
  239. TComboBox *AutoWorkspaceCombo;
  240. TCheckBox *AutoSaveWorkspacePasswordsCheck;
  241. TLabel *CopyParamLabel;
  242. TGroupBox *ConnectionsGroup;
  243. TCheckBox *TryFtpWhenSshFailsCheck;
  244. TLabel *QueueKeepDoneItemsCheck;
  245. TComboBox *QueueKeepDoneItemsForCombo;
  246. TLabel *Label10;
  247. TComboBox *ExplorerKeyboardShortcutsCombo;
  248. TLabel *SessionReopenAutoIdleLabel;
  249. TUpDownEdit *SessionReopenAutoIdleEdit;
  250. TLabel *SessionReopenAutoIdleSecLabel;
  251. TTabSheet *PanelLocalSheet;
  252. TGroupBox *LocalPanelGroup;
  253. TCheckBox *SystemContextMenuCheck;
  254. TGroupBox *PasswordGroupBox;
  255. TCheckBox *SessionRememberPasswordCheck;
  256. TStaticText *PuttyPathHintText;
  257. TLabel *PuttyRegistryStorageKeyLabel;
  258. THistoryComboBox *PuttyRegistryStorageKeyEdit;
  259. TTabSheet *LanguagesSheet;
  260. TGroupBox *LanguagesGroup;
  261. TListView *LanguagesView;
  262. TLabel *LanguageChangeLabel;
  263. TButton *LanguagesGetMoreButton;
  264. TGroupBox *LoggingGroup;
  265. TLabel *LogWindowLinesText;
  266. TCheckBox *LogToFileCheck;
  267. TFilenameEdit *LogFileNameEdit3;
  268. TCheckBox *LogShowWindowCheck;
  269. TRadioButton *LogWindowCompleteButton;
  270. TRadioButton *LogWindowLinesButton;
  271. TUpDownEdit *LogWindowLinesEdit;
  272. TPanel *LogFilePanel;
  273. TRadioButton *LogFileAppendButton;
  274. TRadioButton *LogFileOverwriteButton;
  275. TComboBox *LogProtocolCombo;
  276. TStaticText *LogFileNameHintText;
  277. TCheckBox *EnableLoggingCheck;
  278. TGroupBox *ActionsLoggingGroup;
  279. TFilenameEdit *ActionsLogFileNameEdit;
  280. TStaticText *ActionsLogFileNameHintText;
  281. TCheckBox *EnableActionsLoggingCheck;
  282. TGroupBox *InterfaceGroup;
  283. TLabel *CommanderDescriptionLabel2;
  284. TLabel *ExplorerDescriptionLabel;
  285. TImage *CommanderInterfacePicture;
  286. TImage *ExplorerInterfacePicture;
  287. TRadioButton *CommanderInterfaceButton2;
  288. TRadioButton *ExplorerInterfaceButton2;
  289. TLabel *AutoWorkspaceLabel;
  290. TPopupMenu *RegisterAsUrlHandlerMenu;
  291. TMenuItem *RegisterAsUrlHandlerItem;
  292. TMenuItem *UnregisterForDefaultProtocolsItem;
  293. TMenuItem *MakeDefaultHandlerItem;
  294. TLabel *Label1;
  295. TComboBox *FormatSizeBytesCombo;
  296. TCheckBox *UpdatesShowOnStartup;
  297. TCheckBox *ExternalSessionInExistingInstanceCheck;
  298. TCheckBox *TemporaryDirectoryDeterministicCheck;
  299. TGroupBox *PanelFontGroup;
  300. TLabel *PanelFontLabel;
  301. TButton *PanelFontButton;
  302. TCheckBox *PanelFontCheck;
  303. TCheckBox *LogSensitiveCheck;
  304. void __fastcall FormShow(TObject *Sender);
  305. void __fastcall ControlChange(TObject *Sender);
  306. void __fastcall EditorFontButtonClick(TObject *Sender);
  307. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  308. void __fastcall IconButtonClick(TObject *Sender);
  309. void __fastcall CustomCommandsViewData(TObject *Sender, TListItem *Item);
  310. void __fastcall ListViewSelectItem(TObject *Sender,
  311. TListItem *Item, bool Selected);
  312. void __fastcall CustomCommandsViewKeyDown(TObject *Sender, WORD &Key,
  313. TShiftState Shift);
  314. void __fastcall AddEditCommandButtonClick(TObject *Sender);
  315. void __fastcall RemoveCommandButtonClick(TObject *Sender);
  316. void __fastcall UpDownCommandButtonClick(TObject *Sender);
  317. void __fastcall ListViewStartDrag(TObject *Sender,
  318. TDragObject *&DragObject);
  319. void __fastcall CustomCommandsViewDragDrop(TObject *Sender,
  320. TObject *Source, int X, int Y);
  321. void __fastcall ListViewDragOver(TObject *Sender,
  322. TObject *Source, int X, int Y, TDragState State, bool &Accept);
  323. void __fastcall NavigationTreeChange(TObject *Sender, TTreeNode *Node);
  324. void __fastcall PageControlChange(TObject *Sender);
  325. void __fastcall RegisterAsUrlHandlersButtonClick(TObject *Sender);
  326. void __fastcall DDExtLabelClick(TObject *Sender);
  327. void __fastcall CustomCommandsViewDblClick(TObject *Sender);
  328. void __fastcall AddSearchPathButtonClick(TObject *Sender);
  329. void __fastcall EditorFontLabelDblClick(TObject *Sender);
  330. void __fastcall CopyParamListViewData(TObject *Sender, TListItem *Item);
  331. void __fastcall CopyParamListViewDragDrop(TObject *Sender,
  332. TObject *Source, int X, int Y);
  333. void __fastcall UpDownCopyParamButtonClick(TObject *Sender);
  334. void __fastcall RemoveCopyParamButtonClick(TObject *Sender);
  335. void __fastcall CopyParamListViewKeyDown(TObject *Sender, WORD &Key,
  336. TShiftState Shift);
  337. void __fastcall AddCopyParamButtonClick(TObject *Sender);
  338. void __fastcall CopyParamListViewDblClick(TObject *Sender);
  339. void __fastcall HelpButtonClick(TObject *Sender);
  340. void __fastcall EditorListView3DragDrop(TObject *Sender, TObject *Source,
  341. int X, int Y);
  342. void __fastcall UpDownEditorButtonClick(TObject *Sender);
  343. void __fastcall RemoveEditorButtonClick(TObject *Sender);
  344. void __fastcall AddEditEditorButtonClick(TObject *Sender);
  345. void __fastcall EditorListView3DblClick(TObject *Sender);
  346. void __fastcall EditorListView3KeyDown(TObject *Sender, WORD &Key,
  347. TShiftState Shift);
  348. void __fastcall EditorListView3Data(TObject *Sender, TListItem *Item);
  349. void __fastcall PuttyPathBrowseButtonClick(TObject *Sender);
  350. void __fastcall PathEditBeforeDialog(TObject *Sender,
  351. UnicodeString &Name, bool &Action);
  352. void __fastcall PathEditAfterDialog(TObject *Sender,
  353. UnicodeString &Name, bool &Action);
  354. void __fastcall NavigationTreeCollapsing(TObject *Sender,
  355. TTreeNode *Node, bool &AllowCollapse);
  356. void __fastcall ListViewEndDrag(TObject *Sender,
  357. TObject *Target, int X, int Y);
  358. void __fastcall PathEditCreateEditDialog(TObject *Sender,
  359. TFileDialogKind DialogKind, TOpenDialog *&Dialog);
  360. void __fastcall SessionReopenTimeoutEditSetValue(TObject *Sender,
  361. Extended Value, UnicodeString &Text, bool &Handed);
  362. void __fastcall SessionReopenTimeoutEditGetValue(TObject *Sender,
  363. UnicodeString Text, Extended &Value, bool &Handed);
  364. void __fastcall UseMasterPasswordCheckClick(TObject *Sender);
  365. void __fastcall SetMasterPasswordButtonClick(TObject *Sender);
  366. void __fastcall UsageViewButtonClick(TObject *Sender);
  367. void __fastcall DuplicateCopyParamButtonClick(TObject *Sender);
  368. void __fastcall EditCopyParamButtonClick(TObject *Sender);
  369. void __fastcall CopyParamLabelClick(TObject *Sender);
  370. void __fastcall CopyParamListViewCustomDrawItem(TCustomListView *Sender, TListItem *Item,
  371. TCustomDrawState State, bool &DefaultDraw);
  372. void __fastcall PuttyPathEditChange(TObject *Sender);
  373. void __fastcall NavigationTreeChanging(TObject *Sender, TTreeNode *Node, bool &AllowChange);
  374. void __fastcall LanguagesGetMoreButtonClick(TObject *Sender);
  375. void __fastcall CommanderClick(TObject *Sender);
  376. void __fastcall ExplorerClick(TObject *Sender);
  377. void __fastcall RegisterAsUrlHandlerItemClick(TObject *Sender);
  378. void __fastcall UnregisterForDefaultProtocolsItemClick(TObject *Sender);
  379. void __fastcall MakeDefaultHandlerItemClick(TObject *Sender);
  380. void __fastcall PanelFontLabelDblClick(TObject *Sender);
  381. void __fastcall PanelFontButtonClick(TObject *Sender);
  382. private:
  383. TPreferencesMode FPreferencesMode;
  384. std::unique_ptr<TFont> FEditorFont;
  385. std::unique_ptr<TFont> FPanelFont;
  386. TCustomCommandList * FCustomCommandList;
  387. TCopyParamList * FCopyParamList;
  388. TEditorList * FEditorList;
  389. bool FCustomCommandChanging;
  390. bool FAfterFilenameEditDialog;
  391. int FListViewDragSource;
  392. int FListViewDragDest;
  393. TPreferencesDialogData * FDialogData;
  394. UnicodeString FBeforeDialogPath;
  395. TCopyParamType FCopyParams;
  396. TListViewScrollOnDragOver * FCustomCommandsScrollOnDragOver;
  397. TListViewScrollOnDragOver * FCopyParamScrollOnDragOver;
  398. TListViewScrollOnDragOver * FEditorScrollOnDragOver;
  399. bool FNoUpdate;
  400. bool FLanguagesLoaded;
  401. void __fastcall CMDialogKey(TWMKeyDown & Message);
  402. void __fastcall WMHelp(TWMHelp & Message);
  403. UnicodeString __fastcall TabSample(UnicodeString Values);
  404. void __fastcall AddEditCopyParam(TCopyParamPresetMode Mode);
  405. const TCopyParamType * GetCopyParam(int Index);
  406. void __fastcall SelectPuttyRegistryStorageKey(const UnicodeString & Key);
  407. TInterface __fastcall GetInterface();
  408. public:
  409. virtual __fastcall ~TPreferencesDialog();
  410. bool __fastcall Execute(TPreferencesDialogData * DialogData);
  411. virtual __fastcall TPreferencesDialog(TComponent* AOwner, TPreferencesMode PreferencesMode);
  412. protected:
  413. void __fastcall LoadConfiguration();
  414. void __fastcall SaveConfiguration();
  415. void __fastcall UpdateControls();
  416. void __fastcall UpdateCustomCommandsView();
  417. void __fastcall UpdateCopyParamListView();
  418. void __fastcall UpdateEditorListView();
  419. void __fastcall CustomCommandMove(int Source, int Dest);
  420. void __fastcall CopyParamMove(int Source, int Dest);
  421. void __fastcall EditorMove(int Source, int Dest);
  422. bool __fastcall AllowListViewDrag(TObject * Sender, int X, int Y);
  423. void __fastcall PrepareNavigationTree(TTreeView * Tree);
  424. virtual void __fastcall Dispatch(void * Message);
  425. TListViewScrollOnDragOver * __fastcall ScrollOnDragOver(TObject * ListView);
  426. void __fastcall LoadLanguages();
  427. TTabSheet * __fastcall FindPageForTreeNode(TTreeNode * Node);
  428. bool __fastcall CanSetMasterPassword();
  429. void __fastcall ChangeMasterPassword(UnicodeString Message);
  430. void __fastcall MasterPasswordChanged(
  431. UnicodeString Message, TStrings * RecryptPasswordErrors);
  432. };
  433. //----------------------------------------------------------------------------
  434. #endif