Debian Codegraph @

src/core/components/sensors/amd/junctiontempgraphitem.cpp

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2021 Juan Palacios <[email protected]>
3
4 #include "../sensorgraphitem.h"
5 #include "core/qmlcomponentregistry.h"
6 #include "junctiontemp.h"
7 #include <QtGlobal>
8 #include <units.h>
9
10 namespace AMD::JunctionTemp {
11
12 bool const registered_ = QMLComponentRegistry::addQuickItemProvider(
13 AMD::JunctionTemp::ItemID, []() {
14 return new SensorGraphItem<units::temperature::celsius_t, int>(
15 AMD::JunctionTemp::ItemID, "\u00B0C");
16 });
17
18 char const *const trStrings[] = {
19 QT_TRANSLATE_NOOP("SensorGraph", "AMD_GPU_JUNCTION_TEMP"),
20 };
21
22 } // namespace AMD::JunctionTemp