2025-05-13 15:50:26 -04:00
|
|
|
// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include <physis.hpp>
|
|
|
|
|
|
|
|
class AppState : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit AppState(QObject *parent = nullptr);
|
|
|
|
|
2025-05-14 21:06:41 -04:00
|
|
|
QString basePath;
|
2025-05-13 16:08:19 -04:00
|
|
|
std::vector<std::pair<QString, physis_LayerGroup>> lgbFiles;
|
2025-05-17 11:32:23 -04:00
|
|
|
QList<uint32_t> visibleLayerIds;
|
2025-05-13 15:50:26 -04:00
|
|
|
|
|
|
|
Q_SIGNALS:
|
|
|
|
void mapLoaded();
|
2025-05-17 11:32:23 -04:00
|
|
|
void visibleLayerIdsChanged();
|
2025-05-13 15:50:26 -04:00
|
|
|
};
|