]> sigrok.org Git - pulseview.git/commit - pv/mainwindow.hpp
Rework the callback mechanism for the global settings
authorSoeren Apel <redacted>
Sun, 21 Jan 2018 13:28:27 +0000 (14:28 +0100)
committerSoeren Apel <redacted>
Wed, 7 Feb 2018 18:41:56 +0000 (19:41 +0100)
commitd0c0573b3ee694827a747727f862c5f91736ca05
tree2061f9bd49ac74e0e35b834f93cb3451551de0bc
parent451dc5f33fbc4f559881acdf338c476a976fcbf2
Rework the callback mechanism for the global settings

Up to now, registered callbacks could not be unregistered
because std::function does not permit comparing for equality.

Using an interface class removes the need for std::function,
making the mechanism a little less elegant but at least fully
functional.
pv/globalsettings.cpp
pv/globalsettings.hpp
pv/mainwindow.cpp
pv/mainwindow.hpp
pv/views/trace/analogsignal.cpp
pv/views/trace/analogsignal.hpp
pv/views/trace/view.cpp
pv/views/trace/view.hpp