Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_meta_data_schema_registry.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2007 Cyrille Berger <cberger@cberger.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7#ifndef _KIS_META_DATA_SCHEMA_REGISTRY_H_
8#define _KIS_META_DATA_SCHEMA_REGISTRY_H_
9
10#include <kritametadata_export.h>
11
12class QString;
13class QDebug;
14
15namespace KisMetaData
16{
17
18class Schema;
19
20class KRITAMETADATA_EXPORT SchemaRegistry
21{
22 struct Private;
23public:
31public:
40 const KisMetaData::Schema* create(const QString & uri, const QString & prefix);
44 const Schema* schemaFromUri(const QString & uri) const;
48 const Schema* schemaFromPrefix(const QString & prefix) const;
56private:
57 Private* const d;
58};
59}
60
61KRITAMETADATA_EXPORT QDebug operator<<(QDebug debug, const KisMetaData::Schema &c);
62
63#endif
PythonPluginManager * instance
KRITAMETADATA_EXPORT QDebug operator<<(QDebug debug, const KisMetaData::Schema &c)