Separate processcore/{formatter,unit} into its own library

Authored by ahiemstra on Mar 5 2020, 2:58 PM.

Description

Separate processcore/{formatter,unit} into its own library

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.

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: zzag, ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27869

Details

Committed
ahiemstraMar 19 2020, 2:30 PM
Reviewer
Plasma
Differential Revision
D27869: Separate processcore/{formatter,unit} into its own library
Parents
R111:5acaea961234: Add missing includes
Branches
Unknown
Tags
Unknown