mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-22 13:44:34 +03:00
565a5f0999
ran run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-nodiscard' -fix under linux with most part of our code covered Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
18 lines
286 B
C++
18 lines
286 B
C++
#pragma once
|
|
|
|
#include "owncloudlib.h"
|
|
|
|
#include <QDateTime>
|
|
|
|
namespace OCC {
|
|
|
|
class OWNCLOUDSYNC_EXPORT DateTimeProvider
|
|
{
|
|
public:
|
|
virtual ~DateTimeProvider();
|
|
|
|
[[nodiscard]] virtual QDateTime currentDateTime() const;
|
|
|
|
[[nodiscard]] virtual QDate currentDate() const;
|
|
};
|
|
}
|