mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-14 04:46:49 -05:00
Prompt for new map connections
This commit is contained in:
29
include/ui/newmapconnectiondialog.h
Normal file
29
include/ui/newmapconnectiondialog.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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;
|
||||
Map *map;
|
||||
};
|
||||
|
||||
#endif // NEWMAPCONNECTIONDIALOG_H
|
||||
Reference in New Issue
Block a user