aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/designercore/imagecache/timestampproviderinterface.h
blob: ed942cabcde6d4ae73a94211d321019e813d6564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <sqlitetimestamp.h>
#include <utils/smallstringview.h>

#include <QImage>

namespace QmlDesigner {

class TimeStampProviderInterface
{
public:
    virtual Sqlite::TimeStamp timeStamp(Utils::SmallStringView name) const = 0;
    virtual Sqlite::TimeStamp pause() const = 0;

protected:
    ~TimeStampProviderInterface() = default;
};

} // namespace QmlDesigner