1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-14 20:47:46 +00:00
novus/apps/mapeditor/include/mainwindow.h

28 lines
479 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <KXmlGuiWindow>
#include "filecache.h"
struct GameData;
class MapView;
class MainWindow : public KXmlGuiWindow
{
Q_OBJECT
public:
explicit MainWindow(GameData *data);
private:
void setupActions();
void openMap(const QString &basePath);
GameData *data = nullptr;
FileCache cache;
MapView *mapView = nullptr;
};