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 <QtQmlIntegration>
7
8class ResourceManager : public QObject
9{
10 Q_OBJECT
11 QML_ELEMENT
12 QML_SINGLETON
13
14public:
15 Q_INVOKABLE static QUrl getResourceUrl (const QString &relPath);
16 Q_INVOKABLE static QUrl
17 getIconUrl (const QString &iconPack, const QString &iconFileName);
18};