FreeCAD: master f27e4590

Author Committer Branch Timestamp Parent
ezzieyguywuf wmayer master 2019-09-10 04:27:36 master bf7e50d8
Changeset Refactor and rename ConsoleObserver...

...Renamed to "ILogger", to designate that this is an Interface for a
Logger. This "Interface" is pure virtual, so that it cannot be
instantiated directly. This makes it clear that it is intended to be
derived.

Finally, got rid of all the individual log-style methods and replaced
with SendLog. The idea here is that day-to-day users will only interact
with ILogger through ConsoleSingleton (or, likely, LoggerSingleton in
the future). This singleton will manage an arbirtary collection of
ILogger, and call SendLog with the appropriate parameters based on what
the user requests.

Therefore, the singleton itself will have the individual Log, Message,
Error, etc... methods, while stil allowing us to simplify the code base
of ILogger and its derived classes.
mod - src/Base/Builder3D.cpp Diff File
mod - src/Base/Console.cpp Diff File
mod - src/Base/Console.h Diff File
mod - src/Gui/BitmapFactory.cpp Diff File
mod - src/Gui/CommandTest.cpp Diff File
mod - src/Gui/GuiConsole.cpp Diff File
mod - src/Gui/GuiConsole.h Diff File
mod - src/Gui/MainWindow.cpp Diff File
mod - src/Gui/MainWindow.h Diff File
mod - src/Gui/ReportView.cpp Diff File
mod - src/Gui/ReportView.h Diff File
mod - src/Gui/Splashscreen.cpp Diff File