forked from mirror/openmw-tes3mp
21 lines
No EOL
303 B
C++
21 lines
No EOL
303 B
C++
|
|
#include "editor.hpp"
|
|
|
|
#include <QtGui/QApplication>
|
|
|
|
CS::Editor::Editor()
|
|
{
|
|
}
|
|
|
|
void CS::Editor::createDocument()
|
|
{
|
|
CSMDoc::Document *document = mDocumentManager.addDocument();
|
|
mViewManager.addView (document);
|
|
}
|
|
|
|
int CS::Editor::run()
|
|
{
|
|
createDocument();
|
|
|
|
return QApplication::exec();
|
|
} |