New lua versions
[ryzomcore.git] / studio / src / plugins / mission_compiler / server_entry_dialog.h
blob0ee8925b478e67d4d5e1712c236c960457875d4d
1 // Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2011 Dzmitry KAMIAHIN (dnk-88) <dnk-88@tut.by>
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2010 Winch Gate Property Limited
6 // Copyright (C) 2011 Matt RAYKOWSKI (sfb) <matt.raykowski@gmail.com>
7 // Copyright (C) 2013 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU Affero General Public License as
11 // published by the Free Software Foundation, either version 3 of the
12 // License, or (at your option) any later version.
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU Affero General Public License for more details.
19 // You should have received a copy of the GNU Affero General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef SERVER_ENTRY_DIALOG_H
24 #define SERVER_ENTRY_DIALOG_H
26 #include <QDialog>
28 namespace Ui {
29 class ServerEntryDialog;
32 namespace MissionCompiler
34 /**
35 @class ServerEntryDialog
37 class ServerEntryDialog : public QDialog
39 Q_OBJECT
41 public:
42 explicit ServerEntryDialog(QWidget *parent = 0);
43 ~ServerEntryDialog();
45 QString getServerName();
46 QString getTextPath();
47 QString getPrimPath();
49 void setServerName(QString name);
50 void setTextPath(QString path);
51 void setPrimPath(QString path);
53 public Q_SLOTS:
54 void lookupTextPath();
55 void lookupPrimPath();
57 private:
58 Ui::ServerEntryDialog *m_ui;
61 } // namespace MissionCompiler
63 #endif // SERVER_ENTRY_DIALOG_H