Krita Source Code Documentation
Loading...
Searching...
No Matches
KoResourceSignature.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KORESOURCESIGNATURE_H
7#define KORESOURCESIGNATURE_H
8
9#include "kritaresources_export.h"
10#include <QString>
11#include <boost/operators.hpp>
12
20class KRITARESOURCES_EXPORT KoResourceSignature : public boost::equality_comparable<KoResourceSignature>
21{
22public:
24 KoResourceSignature(const QString &type, const QString &md5sum, const QString &filename, const QString &name);
25
26 KRITARESOURCES_EXPORT
27 friend bool operator==(const KoResourceSignature &lhs, const KoResourceSignature &rhs);
28
29 QString type;
30 QString md5sum;
31 QString filename;
32 QString name;
33};
34
35KRITARESOURCES_EXPORT QDebug operator<<(QDebug dbg, const KoResourceSignature &sig);
36
37#endif // KORESOURCESIGNATURE_H
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
KRITARESOURCES_EXPORT QDebug operator<<(QDebug dbg, const KoResourceSignature &sig)
A simple wrapper object for the main information about the resource.