porymap/include/ui/newmapconnectiondialog.h
2024-08-13 14:59:41 -04:00

28 lines
523 B
C++

#ifndef NEWMAPCONNECTIONDIALOG_H
#define NEWMAPCONNECTIONDIALOG_H
#include <QDialog>
#include "map.h"
#include "mapconnection.h"
namespace Ui {
class NewMapConnectionDialog;
}
class NewMapConnectionDialog : public QDialog
{
Q_OBJECT
public:
explicit NewMapConnectionDialog(QWidget *parent, Map* map, const QStringList &mapNames);
~NewMapConnectionDialog();
MapConnection *result;
virtual void accept() override;
private:
Ui::NewMapConnectionDialog *ui;
};
#endif // NEWMAPCONNECTIONDIALOG_H