Skip to content

Commit

Permalink
Add ctkErrorLogAbstractModel to CTKCore library
Browse files Browse the repository at this point in the history
This commit was motivated to support use of the log model from
qSlicerCoreApplication. This is needed to ensure messages are appended
to the log file during the unloading of modules following the call to
"factoryManager()->unloadModules()" from within the qSlicerCoreApplicationPrivate
destructor.

It is a follow up of f49c19a (move Widget dependent classes from Core
to Widgets. See #278)
  • Loading branch information
jcfr committed Apr 24, 2019
1 parent b8ee620 commit 666b19d
Show file tree
Hide file tree
Showing 7 changed files with 769 additions and 626 deletions.
3 changes: 3 additions & 0 deletions Libs/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ set(KIT_SRCS
ctkDependencyGraph.h
ctkErrorLogAbstractMessageHandler.cpp
ctkErrorLogAbstractMessageHandler.h
ctkErrorLogAbstractModel.cpp
ctkErrorLogAbstractModel.h
ctkErrorLogContext.h
ctkErrorLogFDMessageHandler.cpp
ctkErrorLogFDMessageHandler.h
Expand Down Expand Up @@ -99,6 +101,7 @@ set(KIT_MOC_SRCS
ctkCallback.h
ctkCommandLineParser.h
ctkErrorLogAbstractMessageHandler.h
ctkErrorLogAbstractModel.h
ctkErrorLogFDMessageHandler_p.h
ctkErrorLogLevel.h
ctkErrorLogQtMessageHandler.h
Expand Down
Loading

0 comments on commit 666b19d

Please sign in to comment.