Simplify writing settings to registry:

* Keep only one TRegistry object in memory instead of creating a new one in each routine.
* Move out relevant functions and TRegistry object from main to helpers to make them usable globally.
This commit is contained in:
Ansgar Becker
2009-01-03 17:16:11 +00:00
parent 9bd350cf58
commit 909d31fd64
20 changed files with 419 additions and 583 deletions

View File

@ -4,7 +4,7 @@ interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, Buttons, Registry,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, Buttons,
WideStrings, TntStdCtrls, helpers;