1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00
vcmi/editor/Editor.h

31 lines
461 B
C++

#ifndef EDITOR_H
#define EDITOR_H
#include <memory>
#include <QtWidgets/QMainWindow>
#include "ui_editor.h"
class CConsoleHandler;
class CMap;
class Editor : public QMainWindow
{
Q_OBJECT
public:
Editor(QWidget *parent = 0);
~Editor();
void createMenus();
std::unique_ptr<CMap> map;
private:
std::vector<std::string> txtEditor, txtEditorCmd;
CConsoleHandler * console;
Ui::EditorClass ui;
};
#endif // EDITOR_H