File indexing completed on 2023-10-03 07:39:31

0001 /*
0002     SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KOPENINGHOURS_DISPLAY_H
0008 #define KOPENINGHOURS_DISPLAY_H
0009 
0010 #include "kopeninghours_export.h"
0011 
0012 class QString;
0013 
0014 namespace KOpeningHours {
0015 
0016 class OpeningHours;
0017 
0018 /** Utilities for displaying human-readable/localized opening hours information. */
0019 namespace Display
0020 {
0021     /** Localized description of the current opening state, and upcoming transitions. */
0022     KOPENINGHOURS_EXPORT QString currentState(const OpeningHours &oh);
0023 }
0024 
0025 }
0026 
0027 #endif // KOPENINGHOURS_DISPLAY_H