Skip to content

Use a library for signals and slots #475

Closed
@adazem009

Description

@adazem009

There are many cases where a feature similar to Qt signals and slots is needed, especially in the Engine class.

For example, to run a function when a redraw is requested from the engine, you need to set a callback using Engine::setRedrawHandler(). The callback will then be called internally by the engine.
Another example could be Engine::setAddMonitorHandler() which is used to set a callback for when a stage monitor is added.
This approach makes the API difficult to use and maintain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority: Mediumtask

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions