Unit Olf.RTL.Params

Description

C2PP ***************************************************************************

My libraries for Delphi Copyright (c) 1990-2026 Patrick PREMARTIN

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

***************************************************************************

This repository contains functions, procedures and classes to use in Delphi projects (console, VCL, FireMonkey and others). It's my "everything reuseable things" toolbox.

The units to be used in your projects can be found in the "src" folder. Some features are explained on my blog or have been coded live on Twitch.

Examples of use in the form of VCL or FireMonkey projects are available in the "samples" subfolder.

***************************************************************************

Author(s) : Patrick PREMARTIN

Site : https://librairies.developpeur-pascal.fr

Project site : https://github.com/DeveloppeurPascal/librairies

*************************************************************************** File last update : 2026-03-30T18:19:18.000+02:00 Signature : af95eac40f2c25686f908d1e909c83bb7905504e ***************************************************************************

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TParamsFile TParamsFile work as an instance of a settings file. You can have more than one instance for more than 1 settings file.
Class TParams Use TParams with its class methods if you only want to manage one settings file. If you need more than 1 file to store your settings in the same project, crreate instances of TParamsFile instead of using TParams.

Types

TParamsLoadSaveEvent = procedure(const AParamsFile: TParamsFile) of object;
TParamsLoadSaveProc = reference to procedure(const AParamsFile: TParamsFile);
TParamsCryptEvent = function(const AParams: string): TStream of object;
TParamsCryptProc = reference to function(const AParams: string): TStream;
TParamsDecryptEvent = function(const AStream: TStream): string of object;
TParamsDecryptProc = reference to function(const AStream: TStream): string;

Description

Types

TParamsLoadSaveEvent = procedure(const AParamsFile: TParamsFile) of object;

Method signature for load/save events in TParamsFile

TParamsLoadSaveProc = reference to procedure(const AParamsFile: TParamsFile);

Procedure signature for load/save events in TParamsFile

TParamsCryptEvent = function(const AParams: string): TStream of object;

Method signature for the crypt event in TParamsFile

TParamsCryptProc = reference to function(const AParams: string): TStream;

Procedure signature for the crypt event in TParamsFile

TParamsDecryptEvent = function(const AStream: TStream): string of object;

Method signature for the decrypt event in TParamsFile

TParamsDecryptProc = reference to function(const AStream: TStream): string;

Procedure signature for the decrypt event in TParamsFile

My libraries for Delphi (c) 1990-2026 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 1.0.2.