Skip to content

isemenkov/advpascalutils

Repository files navigation

AdvPascalUtils

AdvPascalUtils is a library of some useful patterns and complex data structures implemented for FreePascal and Delphi.

Table of contents

Requirements

Library is tested for

  • Embarcadero (R) Delphi 10.3 on Windows 7 Service Pack 1 (Version 6.1, Build 7601, 64-bit Edition)
  • Embarcadero (R) Delphi 11.0 Version 28.0.42600.6491 on Windows 10 (Version 10.0, Build 19042, 64-bit Edition)
  • FreePascal Compiler (3.2.0) and Lazarus IDE (2.0.10) on Ubuntu Linux 5.8.0-33-generic x86_64

Installation

Get the sources and add the source directory to the project search path. For FPC add the source directory to the fpc.cfg file.

Usage

Clone the repository git clone https://github.com/isemenkov/advpascalutils.

Add the unit you want to use to the uses clause.

Data structures

TActionManager

TActionManager is advanced version of TEventManager mechanism for subscribe and fire events.

uses
  advutils.action;
  
type
  TActionManager = class

More details read on wiki page.

TEventManager

TEventManager is a implementation of observer pattern. You can subscribe for events and by using event manager later fire different types of events.

uses
  advutils.event;

type
  TEventManager = class

More details read on wiki page.

About

AdvPascalUtils is a library of some useful patterns and complex data structures implemented for FreePascal and Delphi.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages