Skip to content

FGFS-Addon: rewrite technical structure to namespace #197

@hbeni

Description

@hbeni

Currently the addon code lies mostly in the main function of addon-main.nas.
This has some side effects, one of them that the modules functions a not easily reachable from other code places.

It would be good to make a global namespace which then can be used from "anywhere", and the addons main() should just call whatever is needed into the global namespace.
This would also make loading/unloading easier.

One notable thing is that the calls to _setlistener() can be converted to the (future proof) setlistener().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sim clientsAffecting compatibility to Simulator/ATC clientsgood first issueGood for newcomershelp wantedExtra attention is neededlow prioLow priority

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions