Unit Olf.RTL.Params

Functions and Procedures
Constants
Variables

Description

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

My libraries for Delphi

Copyright 1990-2025 Patrick Prémartin under AGPL 3.0 license.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

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 : 2025-02-05T20:59:29.445+01:00 Signature : 053bf155cbadccb8b294aa63b647fe516cc68527 ***************************************************************************

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-2025 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 0.16.0.