Krita Source Code Documentation
Loading...
Searching...
No Matches
KoEmbeddedResource.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 KOEMBEDDEDRESOURCE_H
7#define KOEMBEDDEDRESOURCE_H
8
10
11
18class KRITARESOURCES_EXPORT KoEmbeddedResource
19{
20public:
22 KoEmbeddedResource(const KoResourceSignature &sig, const QByteArray &data);
23
24 const KoResourceSignature &signature() const;
25 QByteArray data() const;
26
27 bool sanityCheckMd5() const;
28
29 bool isValid() const;
30
31private:
33 QByteArray m_data;
34};
35
36#endif // KOEMBEDDEDRESOURCE_H
KoResourceSignature m_sig
A simple wrapper object for the main information about the resource.