]> git.mxchange.org Git - simgear.git/commit
HTTPRequest/pkg::Install: do not replace callbacks.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 30 Jun 2014 16:22:24 +0000 (18:22 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 30 Jun 2014 16:22:24 +0000 (18:22 +0200)
commit0b60643053343a8573097287cae89c2e99393105
tree90ce6187455f9caab4108af9e9eaacedbb2cc5a1
parentdc4644bf3a23728676fd53615625d1681eb037a8
HTTPRequest/pkg::Install: do not replace callbacks.

Keep a list of callbacks to allow registering multiple callbacks
to the same event. This is consistent with eg. jQuery.Deferred
and is needed for example to open multiple dialogs showing the
progress of installing a package at the same time.
simgear/io/HTTPRequest.cxx
simgear/io/HTTPRequest.hxx
simgear/package/Install.cxx
simgear/package/Install.hxx
simgear/structure/CMakeLists.txt
simgear/structure/detail/function_list_template.hxx [new file with mode: 0644]
simgear/structure/function_list.hxx [new file with mode: 0644]
simgear/structure/function_list_test.cxx [new file with mode: 0644]