Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
resource_manager.h
1// SPDX-FileCopyrightText: © 2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include <QObject>
7#include <QtQmlIntegration/qqmlintegration.h>
8
9class ResourceManager : public QObject
10{
11 Q_OBJECT
12 QML_ELEMENT
13 QML_SINGLETON
14
15public:
16 Q_INVOKABLE static QUrl getResourceUrl (const QString &relPath);
17 Q_INVOKABLE static QUrl
18 getIconUrl (const QString &iconPack, const QString &iconFileName);
19};