1 | /* |
2 | * SPDX-FileCopyrightText: 2009 Petri Damstén <damu@iki.fi> |
3 | * SPDX-FileCopyrightText: 2014 John Layt <jlayt@kde.org> |
4 | * |
5 | * SPDX-License-Identifier: LGPL-2.0-or-later |
6 | */ |
7 | |
8 | #ifndef CURRENCY_P_H |
9 | #define CURRENCY_P_H |
10 | |
11 | #include "unitcategory_p.h" |
12 | #include <QDateTime> |
13 | |
14 | namespace KUnitConversion |
15 | { |
16 | namespace Currency |
17 | { |
18 | UnitCategory makeCategory(); |
19 | /** |
20 | * @brief Provides time of last conversion table update for usage in tests |
21 | * |
22 | * If no conversion table is available the QDateTime object is a null datetime. |
23 | * |
24 | * @internal exported for unit tests only |
25 | */ |
26 | KUNITCONVERSION_EXPORT QDateTime lastConversionTableUpdate(); |
27 | }; |
28 | |
29 | } |
30 | |
31 | #endif |
32 | |