D27869: Separate processcore/{formatter,unit} into its own library
Arjen Hiemstra
noreply at phabricator.kde.org
Thu Mar 5 13:58:15 GMT 2020
ahiemstra created this revision.
ahiemstra added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ahiemstra requested review of this revision.
REVISION SUMMARY
This moves Formatter and Unit out of ProcessCore and into its own Formatter library.
This allows us to reuse them in other places, like a new sensor library that will be
posted later.
It includes a declarative plugin that makes things available to QML.
It also contains a small unit test for Formatter.
TEST PLAN
- The new unit test passes.
- KSysGuard still runs correctly.
REPOSITORY
R111 KSysguard Library
BRANCH
formatter_lib
REVISION DETAIL
https://phabricator.kde.org/D27869
AFFECTED FILES
CMakeLists.txt
autotests/CMakeLists.txt
autotests/formattertest.cpp
formatter/CMakeLists.txt
formatter/Formatter.cpp
formatter/Formatter.h
formatter/Unit.cpp
formatter/Unit.h
formatter/declarative/CMakeLists.txt
formatter/declarative/FormatterPlugin.cpp
formatter/declarative/FormatterPlugin.h
formatter/declarative/FormatterWrapper.cpp
formatter/declarative/FormatterWrapper.h
formatter/declarative/qmldir
processcore/CMakeLists.txt
processcore/formatter.cpp
processcore/formatter.h
processcore/unit.cpp
processcore/unit.h
To: ahiemstra, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200305/c3abca42/attachment-0001.html>
More information about the Plasma-devel
mailing list