-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI/CD: - Cleaning the old `history.md` and `release-notes.md` in favour of `CHANGELOG.md` with `git cliff`. Documentation: - Started the `fpdoc` `XML` file. Dispatcher: - Added the message list and the message list thread processor. - Added the `Run(WaitFor)` method Module: - Added the message list and the message list thread processor. ThreadProcessMessages: - Created the class
- Loading branch information
Showing
12 changed files
with
235 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<fpdoc-descriptions> | ||
<package name="PolyKerma"> | ||
<module name="PolyKerma.Threading.ThreadProcessMessages"> | ||
<element name="TProcedureProcessMessages"> | ||
<short>Event procedure to call the Dispatcher or Module ProcessMessages member.</short> | ||
</element> | ||
</module> | ||
</package> | ||
</fpdoc-descriptions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/dispatching/polykerma.dispatching.dispatcher.interfaces.pas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
unit PolyKerma.Dispatching.Dispatcher.Interfaces; | ||
|
||
{$mode objfpc}{$H+} | ||
|
||
interface | ||
|
||
uses | ||
{$IFDEF FPC_DOTTEDUNITS} | ||
System.Classes | ||
{$ELSE FPC_DOTTEDUNITS} | ||
Classes | ||
{$ENDIF FPC_DOTTEDUNITS} | ||
, PolyKerma.Dispatching.Message.Interfaces | ||
, PolyKerma.Modules.Interfaces | ||
; | ||
|
||
type | ||
{ IDispatcher } | ||
IDispatcher = Interface | ||
['{1CD54522-D37B-486E-9181-A97CCF768DE9}'] | ||
procedure Post(const AMessage: IMessage); | ||
procedure ProcessMessage(const AMessage: IMessage); | ||
function Register(const AChannel: String; const AModule: IModule): Boolean; | ||
procedure Run(const WaitFor: Boolean); | ||
end; | ||
|
||
implementation | ||
|
||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.